pub struct Hist {
pub data: Vec<f64>,
pub opts: Vec<Opt>,
}
Expand description
A histogram of a data set.
ax.hist({data}, **{opts})
Prelude: No
JSON data: list[float]
Fields§
§data: Vec<f64>
Data set.
opts: Vec<Opt>
Optional keyword arguments.
Implementations§
Trait Implementations§
Source§impl Matplotlib for Hist
impl Matplotlib for Hist
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 Hist
impl MatplotlibOpts for Hist
impl StructuralPartialEq for Hist
Auto Trait Implementations§
impl Freeze for Hist
impl RefUnwindSafe for Hist
impl Send for Hist
impl Sync for Hist
impl Unpin for Hist
impl UnwindSafe for Hist
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