PlotHelper

Trait PlotHelper 

Source
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).

Required Methods§

Source

fn get_layout(&self) -> &Layout

Source

fn get_traces(&self) -> &Vec<Box<dyn Trace + 'static>>

Implementors§