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

Method set_range

src/scales/band.rs:78–82  ·  view source on GitHub ↗

Set the range limits for the scale band.

(mut self, range: Vec<isize>)

Source from the content-addressed store, hash-verified

76
77 /// Set the range limits for the scale band.
78 pub fn set_range(mut self, range: Vec<isize>) -> Self {
79 self.range = range;
80 self.rescale();
81 self
82 }
83
84 /// Get the range limits of the scale.
85 pub fn range(&self) -> &Vec<isize> {

Callers 8

mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45
mainFunction · 0.45

Calls 1

rescaleMethod · 0.80

Tested by

no test coverage detected