pub struct Label {
pub axis: Axis,
pub s: String,
pub opts: Vec<Opt>,
}Expand description
Set a label on a set of axes.
ax.set_xlabel("{s}", **{opts})Prelude: No
JSON data: None
Fields§
§axis: AxisWhich axis to label.
s: StringAxis label.
opts: Vec<Opt>Optional keyword arguments.
Implementations§
Trait Implementations§
source§impl Matplotlib for Label
impl Matplotlib for Label
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 Label
impl MatplotlibOpts for Label
impl StructuralPartialEq for Label
Auto Trait Implementations§
impl Freeze for Label
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)