MCPcopy Index your code
hub / github.com/askanium/rustplotlib / set_axis_label

Method set_axis_label

src/axis.rs:62–64  ·  view source on GitHub ↗

Set axis label.

(&mut self, label: String)

Source from the content-addressed store, hash-verified

60
61 /// Set axis label.
62 pub fn set_axis_label(&mut self, label: String) {
63 self.label = label;
64 }
65
66 /// Compute the length of the axis.
67 fn get_axis_length<'a>(position: AxisPosition, chart: &Chart<'a>) -> isize {

Callers 4

add_right_axis_labelMethod · 0.80
add_left_axis_labelMethod · 0.80
add_top_axis_labelMethod · 0.80
add_bottom_axis_labelMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected