Trait plotlars::Plot

source ·
pub trait Plot {
    // Required methods
    fn get_layout(&self) -> &Layout;
    fn get_traces(&self) -> &Vec<Box<dyn Trace + 'static>>;

    // Provided method
    fn plot(self)
       where Self: Sized { ... }
}
Expand description

A trait representing a generic plot that can be displayed or rendered.

Required Methods§

source

fn get_layout(&self) -> &Layout

source

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

Provided Methods§

source

fn plot(self)
where Self: Sized,

Implementors§