MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / set_autoscale_on

Method set_autoscale_on

lib/matplotlib/axes/_base.py:2782–2799  ·  view source on GitHub ↗

Set whether autoscaling is applied to each axis on the next draw or call to `.Axes.autoscale_view`. Parameters ---------- b : bool See Also -------- :ref:`autoscale` matplotlib.axes.Axes.autoscale matplotlib.axes.Axes

(self, b)

Source from the content-addressed store, hash-verified

2780 for axis in self._axis_map.values())
2781
2782 def set_autoscale_on(self, b):
2783 """
2784 Set whether autoscaling is applied to each axis on the next draw or
2785 call to `.Axes.autoscale_view`.
2786
2787 Parameters
2788 ----------
2789 b : bool
2790
2791 See Also
2792 --------
2793 :ref:`autoscale`
2794 matplotlib.axes.Axes.autoscale
2795 matplotlib.axes.Axes.set_autoscalex_on
2796 matplotlib.axes.Axes.set_autoscaley_on
2797 """
2798 for axis in self._axis_map.values():
2799 axis._set_autoscale_on(b)
2800
2801 @property
2802 def use_sticky_edges(self):

Callers 5

axisMethod · 0.95
test_RRuleLocatorFunction · 0.80
test_DateFormatterFunction · 0.80
ax_updateMethod · 0.80
resample.pyFile · 0.80

Calls 2

valuesMethod · 0.80
_set_autoscale_onMethod · 0.80

Tested by 2

test_RRuleLocatorFunction · 0.64
test_DateFormatterFunction · 0.64