Trait rustplotlib::backend::Backend [] [src]

pub trait Backend {
    fn figure(&mut self) -> Result<&mut Self>;
    fn subplot(&mut self, rows: u32, cols: u32, n: u32) -> Result<&mut Self>;
    fn xlabel(&mut self, xlabel: &str) -> Result<&mut Self>;
    fn ylabel(&mut self, ylabel: &str) -> Result<&mut Self>;
    fn grid(&mut self, grid: bool) -> Result<&mut Self>;
    fn legend(&mut self, loc: &str) -> Result<&mut Self>;
    fn xlim(&mut self, xlim: &(f64, f64)) -> Result<&mut Self>;
    fn ylim(&mut self, ylim: &(f64, f64)) -> Result<&mut Self>;
    fn set_style(&mut self, stylename: &str) -> Result<&mut Self>;
    fn savefig(&mut self, filename: &str) -> Result<&mut Self>;
    fn show(&mut self) -> Result<&mut Self>;
    fn plot(&mut self,
        xdata: &[f64],
        ydata: &[f64],
        label: &Option<String>,
        color: &Option<String>,
        marker: &Option<String>,
        linestyle: &Option<String>,
        linewidth: &Option<f64>)
        -> Result<&mut Self>; fn scatter(&mut self,
           xdata: &[f64],
           ydata: &[f64],
           label: &Option<String>,
           color: &Option<String>,
           marker: &Option<String>)
           -> Result<&mut Self>; fn fill_between(&mut self,
                x: &[f64],
                y1: &[f64],
                y2: &[f64],
                where_: &Option<&[bool]>,
                interpolate: bool,
                step: &Option<String>)
                -> Result<&mut Self>; fn tight_layout(&mut self) -> Result<&mut Self>; }

Required Methods

Implementors