Set whether this Axis is autoscaled when drawing or by `.Axes.autoscale_view`. If b is None, then the value is not changed. Parameters ---------- b : bool See Also -------- matplotlib.axes.Axes.autoscale matplotlib.axes.Axes
(self, b)
| 851 | return self._autoscale_on |
| 852 | |
| 853 | def _set_autoscale_on(self, b): |
| 854 | """ |
| 855 | Set whether this Axis is autoscaled when drawing or by `.Axes.autoscale_view`. |
| 856 | |
| 857 | If b is None, then the value is not changed. |
| 858 | |
| 859 | Parameters |
| 860 | ---------- |
| 861 | b : bool |
| 862 | |
| 863 | See Also |
| 864 | -------- |
| 865 | matplotlib.axes.Axes.autoscale |
| 866 | matplotlib.axes.Axes.set_autoscale_on |
| 867 | matplotlib.axes.Axes.get_autoscalex_on |
| 868 | matplotlib.axes.Axes.set_autoscalex_on |
| 869 | matplotlib.axes.Axes.get_autoscaley_on |
| 870 | matplotlib.axes.Axes.set_autoscaley_on |
| 871 | """ |
| 872 | if b is not None: |
| 873 | self._autoscale_on = b |
| 874 | |
| 875 | def get_children(self): |
| 876 | return [self.label, self.offsetText, |
no outgoing calls
no test coverage detected