pub struct ViewInit {
pub azim: f64,
pub elev: f64,
pub opts: Vec<Opt>,
}
Expand description
Set the view on a set of 3D axes.
Angles are in degrees.
ax.view_init(azim={azim}, elev={elev}, **{opts})
Prelude: No
JSON data: None
Fields§
§azim: f64
Azimuthal angle.
elev: f64
Elevational angle.
opts: Vec<Opt>
Optional keyword arguments.
Implementations§
Trait Implementations§
Source§impl Matplotlib for ViewInit
impl Matplotlib for ViewInit
Source§fn is_prelude(&self) -> bool
fn is_prelude(&self) -> bool
Return
true
if self
should be considered as a prelude item, which
are execute in the order seen but before any non-prelude items.Source§impl MatplotlibOpts for ViewInit
impl MatplotlibOpts for ViewInit
impl StructuralPartialEq for ViewInit
Auto Trait Implementations§
impl Freeze for ViewInit
impl RefUnwindSafe for ViewInit
impl Send for ViewInit
impl Sync for ViewInit
impl Unpin for ViewInit
impl UnwindSafe for ViewInit
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more