MCPcopy Index your code
hub / github.com/cpmech/plotpy / GraphMaker

Interface GraphMaker

src/plot.rs:13–19  ·  view source on GitHub ↗

Defines the trait used by Plot to add graph entities

Source from the content-addressed store, hash-verified

11
12/// Defines the trait used by Plot to add graph entities
13pub trait GraphMaker {
14 /// Returns the text buffer with Python3 commands
15 fn get_buffer<'a>(&'a self) -> &'a String;
16
17 /// Clear the text buffer with Python commands
18 fn clear_buffer(&mut self);
19}
20
21/// Central plot driver — collects graph entities, generates a Python script, and executes it
22///

Callers

nothing calls this directly

Implementers 15

contour.rssrc/contour.rs
stream.rssrc/stream.rs
boxplot.rssrc/boxplot.rs
histogram.rssrc/histogram.rs
text.rssrc/text.rs
fill_between.rssrc/fill_between.rs
slope_icon.rssrc/slope_icon.rs
dark_mode.rssrc/dark_mode.rs
surface.rssrc/surface.rs
image.rssrc/image.rs
legend.rssrc/legend.rs
inset_axes.rssrc/inset_axes.rs

Calls

no outgoing calls

Tested by

no test coverage detected