pub struct Bar {
pub x: Vec<f64>,
pub y: Vec<f64>,
pub opts: Vec<Opt>,
}
Expand description
A bar plot.
ax.bar({x}, {y}, **{opts})
Prelude: No
JSON data: [list[float], list[float]]
Fields§
§x: Vec<f64>
X-coordinates.
y: Vec<f64>
Y-coordinates.
opts: Vec<Opt>
Optional keyword arguments.
Implementations§
Trait Implementations§
Source§impl Matplotlib for Bar
impl Matplotlib for Bar
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 Bar
impl MatplotlibOpts for Bar
impl StructuralPartialEq for Bar
Auto Trait Implementations§
impl Freeze for Bar
impl RefUnwindSafe for Bar
impl Send for Bar
impl Sync for Bar
impl Unpin for Bar
impl UnwindSafe for Bar
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