MCPcopy Create free account
hub / github.com/Axect/Peroxide / insert_pair

Method insert_pair

src/util/plot.rs:323–329  ·  view source on GitHub ↗
(&mut self, xy: (Vec<f64>, Vec<f64>))

Source from the content-addressed store, hash-verified

321 }
322
323 fn insert_pair(&mut self, xy: (Vec<f64>, Vec<f64>)) -> &mut Self {
324 if let Some(t) = self.options.get_mut(&Pairs) {
325 *t = true
326 }
327 self.pairs.push(xy);
328 self
329 }
330
331 fn set_title(&mut self, title: &str) -> &mut Self {
332 self.title = Some(title.to_owned());

Callers 3

mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls 1

pushMethod · 0.80

Tested by 1

mainFunction · 0.64