[−][src]Struct plotlib::view::CategoricalView
A view with categorical entries along the x-axis and continuous values along the y-axis
Methods
impl CategoricalView
[src]
pub fn new() -> CategoricalView
[src]
Create an empty view
pub fn add<R: CategoricalRepresentation + 'static>(self, repr: R) -> Self
[src]
Add a representation to the view
pub fn x_ticks(self, ticks: &[String]) -> Self
[src]
Set the x range for the view
pub fn y_range(self, min: f64, max: f64) -> Self
[src]
Set the y range for the view
pub fn x_label<T>(self, value: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
Set the label for the x-axis
pub fn y_label<T>(self, value: T) -> Self where
T: Into<String>,
[src]
T: Into<String>,
Set the label for the y-axis
Trait Implementations
impl Default for CategoricalView
[src]
fn default() -> CategoricalView
[src]
impl View for CategoricalView
[src]
Auto Trait Implementations
impl !RefUnwindSafe for CategoricalView
impl !Send for CategoricalView
impl !Sync for CategoricalView
impl Unpin for CategoricalView
impl !UnwindSafe for CategoricalView
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>,