pub trait CreatePlottingRoot {
// Required method
fn create_bitmap_root<'a, T>(
&self,
image_size: u32,
filename: &'a T,
) -> Result<DrawingArea<BitMapBackend<'a>, Cartesian2d<RangedCoordf64, RangedCoordf64>>, DrawingError>
where T: AsRef<Path> + ?Sized;
}Expand description
Creates a new plotting root which can then be drawn upon.
Required Methods§
sourcefn create_bitmap_root<'a, T>(
&self,
image_size: u32,
filename: &'a T,
) -> Result<DrawingArea<BitMapBackend<'a>, Cartesian2d<RangedCoordf64, RangedCoordf64>>, DrawingError>
fn create_bitmap_root<'a, T>( &self, image_size: u32, filename: &'a T, ) -> Result<DrawingArea<BitMapBackend<'a>, Cartesian2d<RangedCoordf64, RangedCoordf64>>, DrawingError>
Creates a bitmap plotting root.
Object Safety§
This trait is not object safe.