Trait plotpy::GraphMaker

source ·
pub trait GraphMaker {
    // Required methods
    fn get_buffer<'a>(&'a self) -> &'a String;
    fn clear_buffer(&mut self);
}
Expand description

Defines the trait used by Plot to add graph entities

Required Methods§

source

fn get_buffer<'a>(&'a self) -> &'a String

Returns the text buffer with Python3 commands

source

fn clear_buffer(&mut self)

Clear the text buffer with Python commands

Implementors§