[][src]Trait plotlib::view::View

pub trait View {
    fn to_svg(&self, face_width: f64, face_height: f64) -> Result<Group, Error>;
fn to_text(
        &self,
        face_width: u32,
        face_height: u32
    ) -> Result<String, Error>;
fn add_grid(&mut self, grid: Grid);
fn grid(&self) -> &Option<Grid>; }

Required methods

fn to_svg(&self, face_width: f64, face_height: f64) -> Result<Group, Error>

fn to_text(&self, face_width: u32, face_height: u32) -> Result<String, Error>

fn add_grid(&mut self, grid: Grid)

fn grid(&self) -> &Option<Grid>

Loading content...

Implementors

impl View for CategoricalView[src]

impl View for ContinuousView[src]

fn to_svg(&self, face_width: f64, face_height: f64) -> Result<Group, Error>[src]

Create an SVG rendering of the view

fn to_text(&self, face_width: u32, face_height: u32) -> Result<String, Error>[src]

Create a text rendering of the view

Loading content...