Trait Plotable

Source
pub trait Plotable {
    // Required methods
    fn plot(&self) -> Box<dyn View>;
    fn as_plot(&self) -> Plot;
}
Expand description

Plottables can be made into plotlib Plots

Required Methods§

Source

fn plot(&self) -> Box<dyn View>

Returns a plotlib Plot representing this object

Source

fn as_plot(&self) -> Plot

Implementors§