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

Method set_patch_artist

src/boxplot.rs:226–229  ·  view source on GitHub ↗

Enables Patch artist drawing so boxes can be filled with color By default Matplotlib uses Line2D to draw boxes. Setting this to `true` allows [`set_boxprops`](Self::set_boxprops) to fill boxes with color.

(&mut self, flag: bool)

Source from the content-addressed store, hash-verified

224 /// By default Matplotlib uses Line2D to draw boxes. Setting this to `true`
225 /// allows [`set_boxprops`](Self::set_boxprops) to fill boxes with color.
226 pub fn set_patch_artist(&mut self, flag: bool) -> &mut Self {
227 self.patch_artist = flag;
228 self
229 }
230
231 /// Sets the median line properties as a Python dict string
232 ///

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