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

Method set_width

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

Sets the width of each bar (relative to the default unit spacing)

(&mut self, width: f64)

Source from the content-addressed store, hash-verified

224
225 /// Sets the width of each bar (relative to the default unit spacing)
226 pub fn set_width(&mut self, width: f64) -> &mut Self {
227 self.width = width;
228 self
229 }
230
231 /// Sets the vertical offset of each bar (bottom coordinate)
232 ///

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