pub struct CTickLabels {
pub v: Vec<f64>,
pub s: Vec<String>,
pub opts: Vec<Opt>,
}
Expand description
Set the values and labels for which ticks are placed on a colorbar.
This relies on an existing local variable cbar
produced by e.g.
Colorbar
.
cbar.set_ticks({v}, labels={s}, **{opts})
Prelude: No
JSON data: [list[float], list[str]]
Fields§
§v: Vec<f64>
Tick values.
s: Vec<String>
Tick labels.
opts: Vec<Opt>
Optional keyword arguments.
Implementations§
Source§impl CTickLabels
impl CTickLabels
Trait Implementations§
Source§impl Clone for CTickLabels
impl Clone for CTickLabels
Source§fn clone(&self) -> CTickLabels
fn clone(&self) -> CTickLabels
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for CTickLabels
impl Debug for CTickLabels
Source§impl Matplotlib for CTickLabels
impl Matplotlib for CTickLabels
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 CTickLabels
impl MatplotlibOpts for CTickLabels
Source§impl PartialEq for CTickLabels
impl PartialEq for CTickLabels
impl StructuralPartialEq for CTickLabels
Auto Trait Implementations§
impl Freeze for CTickLabels
impl RefUnwindSafe for CTickLabels
impl Send for CTickLabels
impl Sync for CTickLabels
impl Unpin for CTickLabels
impl UnwindSafe for CTickLabels
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