MCPcopy Create free account
hub / github.com/cpmech/plotpy / set_extra

Method set_extra

src/barplot.rs:285–288  ·  view source on GitHub ↗

Sets extra matplotlib commands (comma separated) Important:** The extra commands must be comma separated. For example: ```text param1=123,param2='hello' ``` [See Matplotlib's documentation for extra parameters](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.bar.html)

(&mut self, extra: &str)

Source from the content-addressed store, hash-verified

283 ///
284 /// [See Matplotlib's documentation for extra parameters](https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.bar.html)
285 pub fn set_extra(&mut self, extra: &str) -> &mut Self {
286 self.extra = extra.to_string();
287 self
288 }
289
290 /// Returns options for barplot
291 fn options(&self) -> String {

Callers 2

draw_works_2Function · 0.45
draw_with_str_works_2Function · 0.45

Calls

no outgoing calls

Tested by 2

draw_works_2Function · 0.36
draw_with_str_works_2Function · 0.36