pub trait PlottersExt: Plot {
// Required methods
fn plot(&self);
fn save(&self, path: &str);
fn to_svg(&self) -> String;
}Expand description
Plotters rendering extension trait. Provides static image output methods.
Available on all types implementing the core Plot trait via blanket impl.
Required Methods§
Sourcefn plot(&self)
fn plot(&self)
Render and display the plot.
In Jupyter/evcxr: displays inline PNG. Otherwise: writes a temp PNG and opens the OS image viewer.