pub struct Plot {
pub x: Vec<f64>,
pub y: Vec<f64>,
pub opts: Vec<Opt>,
}
Expand description
A (x, y) plot.
ax.plot({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 Plot
impl Matplotlib for Plot
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 Plot
impl MatplotlibOpts for Plot
impl StructuralPartialEq for Plot
Auto Trait Implementations§
impl Freeze for Plot
impl RefUnwindSafe for Plot
impl Send for Plot
impl Sync for Plot
impl Unpin for Plot
impl UnwindSafe for Plot
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