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

Method scale

src/scales/band.rs:150–152  ·  view source on GitHub ↗

Get the range value for the given domain entry.

(&self, domain: &String)

Source from the content-addressed store, hash-verified

148
149 /// Get the range value for the given domain entry.
150 fn scale(&self, domain: &String) -> f32 {
151 self.offsets[*self.index.get(domain).unwrap()]
152 }
153
154 /// Get the bandwidth (if present).
155 fn bandwidth(&self) -> Option<f32> {

Callers 4

generate_ticksMethod · 0.45
load_dataMethod · 0.45
load_dataMethod · 0.45
load_dataMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected