diff --git a/lib/matplotlib/axes/_base.py b/lib/matplotlib/axes/_base.py index 015fd3294589..1a65be113339 100644 --- a/lib/matplotlib/axes/_base.py +++ b/lib/matplotlib/axes/_base.py @@ -926,6 +926,10 @@ def get_xaxis_transform(self, which='grid'): `~matplotlib.axis.Axis` class, and is meant to be overridden by new kinds of projections that may need to place axis elements in different locations. + + Parameters + ---------- + which : {'grid', 'tick1', 'tick2'} """ if which == 'grid': return self._xaxis_transform @@ -1002,6 +1006,10 @@ def get_yaxis_transform(self, which='grid'): `~matplotlib.axis.Axis` class, and is meant to be overridden by new kinds of projections that may need to place axis elements in different locations. + + Parameters + ---------- + which : {'grid', 'tick1', 'tick2'} """ if which == 'grid': return self._yaxis_transform