#[repr(u32)]pub enum Colormap {
Standard = 0,
Deep = 1,
Dark = 2,
Pastel = 3,
Paired = 4,
Viridis = 5,
Plasma = 6,
Hot = 7,
Cool = 8,
Pink = 9,
Jet = 10,
}
Expand description
Colormap choice. Documentation copied from implot.h for convenience.
Variants§
Standard = 0
ImPlot default colormap (n=10). Called “Standard” here because Default is reserved.
Deep = 1
a.k.a. seaborn deep (n=10)
Dark = 2
a.k.a. matplotlib “Set1” (n=9)
Pastel = 3
a.k.a. matplotlib “Pastel1” (n=9)
Paired = 4
a.k.a. matplotlib “Paired” (n=12)
Viridis = 5
a.k.a. matplotlib “viridis” (n=11)
Plasma = 6
a.k.a. matplotlib “plasma” (n=11)
Hot = 7
a.k.a. matplotlib/MATLAB “hot” (n=11)
Cool = 8
a.k.a. matplotlib/MATLAB “cool” (n=11)
Pink = 9
a.k.a. matplotlib/MATLAB “pink” (n=11)
Jet = 10
a.k.a. MATLAB “jet” (n=11)
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Colormap
impl RefUnwindSafe for Colormap
impl Send for Colormap
impl Sync for Colormap
impl Unpin for Colormap
impl UnwindSafe for Colormap
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