Sets the horizontal and vertical gap between subplots
(&mut self, horizontal: f64, vertical: f64)
| 475 | |
| 476 | /// Sets the horizontal and vertical gap between subplots |
| 477 | pub fn set_gaps(&mut self, horizontal: f64, vertical: f64) -> &mut Self { |
| 478 | write!( |
| 479 | &mut self.buffer, |
| 480 | "plt.subplots_adjust(wspace={},hspace={})\n", |
| 481 | horizontal, vertical |
| 482 | ) |
| 483 | .unwrap(); |
| 484 | self |
| 485 | } |
| 486 | |
| 487 | /// Sets same scale for both axes |
| 488 | pub fn set_equal_axes(&mut self, equal: bool) -> &mut Self { |
no outgoing calls