Sets same scale for both axes
(&mut self, equal: bool)
| 486 | |
| 487 | /// Sets same scale for both axes |
| 488 | pub fn set_equal_axes(&mut self, equal: bool) -> &mut Self { |
| 489 | if equal { |
| 490 | self.buffer.push_str("set_equal_axes()\n"); |
| 491 | } else { |
| 492 | self.buffer.push_str("plt.gca().axes.set_aspect('auto')\n"); |
| 493 | } |
| 494 | self |
| 495 | } |
| 496 | |
| 497 | /// Sets the figure size in inches |
| 498 | pub fn set_figure_size_inches(&mut self, width: f64, height: f64) -> &mut Self { |
no outgoing calls