MCPcopy Create free account
hub / github.com/alceal/plotlars / width

Method width

crates/plotlars-core/src/components/colorbar.rs:217–220  ·  view source on GitHub ↗

Sets the width of the color bar. # Argument `width` - A `f64` value between 0.0 and 1.0 specifying the width as a fraction of the subplot width.

(mut self, width: f64)

Source from the content-addressed store, hash-verified

215 ///
216 /// * `width` - A `f64` value between 0.0 and 1.0 specifying the width as a fraction of the subplot width.
217 pub fn width(mut self, width: f64) -> Self {
218 self.width = Some(width);
219 self
220 }
221
222 /// Sets the angle of the tick labels on the color bar.
223 ///

Callers 15

test_thicknessFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
styled_scatter_polarFunction · 0.45
grouped_scatter_polarFunction · 0.45
filled_scatter_polarFunction · 0.45
lineplot_exampleFunction · 0.45
scatterpolar_exampleFunction · 0.45
timeseriesplot_exampleFunction · 0.45
create_regular_layoutFunction · 0.45
create_irregular_layoutFunction · 0.45
build_lineFunction · 0.45

Calls

no outgoing calls

Tested by 1

test_thicknessFunction · 0.36