(&mut self, xy: (Vec<f64>, Vec<f64>))
| 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()); |