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

Method set_boxprops

src/boxplot.rs:245–248  ·  view source on GitHub ↗

Sets the box body properties as a Python dict string Requires [`set_patch_artist(true)`](Self::set_patch_artist). Example: `"{'facecolor': 'lightblue', 'edgecolor': 'black'}"`

(&mut self, props: &str)

Source from the content-addressed store, hash-verified

243 /// Requires [`set_patch_artist(true)`](Self::set_patch_artist).
244 /// Example: `"{'facecolor': 'lightblue', 'edgecolor': 'black'}"`
245 pub fn set_boxprops(&mut self, props: &str) -> &mut Self {
246 self.box_props = props.to_string();
247 self
248 }
249
250 /// Sets the whisker line properties as a Python dict string
251 ///

Callers 2

draw_works_2Function · 0.80
test_boxplot_5Function · 0.80

Calls

no outgoing calls

Tested by 2

draw_works_2Function · 0.64
test_boxplot_5Function · 0.64