Struct rustplotlib::backend::Matplotlib
[−]
[src]
pub struct Matplotlib { /* fields omitted */ }
Represents an instance of Python process which executes operations.
Methods
impl Matplotlib
[src]
fn new() -> Result<Matplotlib>
create an instance of Matplotlib backend.
fn wait(&mut self) -> Result<()>
wait until all operations are finished.
fn exec<S: AsRef<str>>(&mut self, script: S) -> Result<&mut Self>
execute a string as Python script.
fn dump_pickle<S: AsRef<str>>(&mut self, filename: S) -> Result<&mut Self>
Trait Implementations
impl Backend for Matplotlib
[src]
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 scatter(&mut self,
xdata: &[f64],
ydata: &[f64],
label: &Option<String>,
color: &Option<String>,
marker: &Option<String>)
-> Result<&mut Self>
xdata: &[f64],
ydata: &[f64],
label: &Option<String>,
color: &Option<String>,
marker: &Option<String>)
-> 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>
xdata: &[f64],
ydata: &[f64],
label: &Option<String>,
color: &Option<String>,
marker: &Option<String>,
linestyle: &Option<String>,
linewidth: &Option<f64>)
-> 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>
x: &[f64],
y1: &[f64],
y2: &[f64],
where_: &Option<&[bool]>,
interpolate: bool,
step: &Option<String>)
-> Result<&mut Self>