pub trait PlotHelper {
// Required methods
fn get_layout(&self) -> &Layout;
fn get_traces(&self) -> &Vec<Box<dyn Trace + 'static>>;
}
Expand description
Helper trait for internal use by the Plot
trait implementation.
Can be used to get the underlying layout and traces of a plot (for example, to create a subplot).