pub struct PlotBuilder<'a> { /* private fields */ }Expand description
Universal plot builder that can create any plot type
Implementations§
Source§impl<'a> PlotBuilder<'a>
impl<'a> PlotBuilder<'a>
Sourcepub fn scatter(label: &'a str, x_data: &'a [f64], y_data: &'a [f64]) -> Self
pub fn scatter(label: &'a str, x_data: &'a [f64], y_data: &'a [f64]) -> Self
Create a scatter plot
Sourcepub fn heatmap(
label: &'a str,
values: &'a [f64],
rows: usize,
cols: usize,
) -> Self
pub fn heatmap( label: &'a str, values: &'a [f64], rows: usize, cols: usize, ) -> Self
Create a heatmap
Auto Trait Implementations§
impl<'a> Freeze for PlotBuilder<'a>
impl<'a> RefUnwindSafe for PlotBuilder<'a>
impl<'a> Send for PlotBuilder<'a>
impl<'a> Sync for PlotBuilder<'a>
impl<'a> Unpin for PlotBuilder<'a>
impl<'a> UnwindSafe for PlotBuilder<'a>
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