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