[−][src]Struct plotlib::grid::Grid
Configuration for the grid on a plot
Supports changing the number of grid lines for the x and y dimensions. Note: for categorical plots, only horizontal lines will be shown.
Fields
nx: u32
Number of vertical grid lines (defaults to 3)
ny: u32
Number of horizontal grid lines (defaults to 3)
color: String
Color of the grid lines (defaults to "darkgrey")
Methods
impl Grid
[src]
pub fn new(nx: u32, ny: u32) -> Grid
[src]
Create a new grid with nx
vertical and ny
horizontal grid lines
The default colour is "darkgrey".
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Grid
impl Send for Grid
impl Sync for Grid
impl Unpin for Grid
impl UnwindSafe for Grid
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,