MCPcopy Create free account
hub / github.com/askanium/rustplotlib / set_domain

Method set_domain

src/scales/band.rs:66–70  ·  view source on GitHub ↗

Set the domain limits for the scale band.

(mut self, range: Vec<String>)

Source from the content-addressed store, hash-verified

64
65 /// Set the domain limits for the scale band.
66 pub fn set_domain(mut self, range: Vec<String>) -> Self {
67 self.domain = range;
68 self.rescale();
69 self
70 }
71
72 /// Get the domain limits of the scale.
73 pub fn domain(&self) -> &Vec<String> {

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