@@ -777,26 +777,15 @@ def _set_axes_scale(self, value, **kwargs):
777777
778778 Parameters
779779 ----------
780- value : {"linear", "log", "symlog", "logit", ...} or `.ScaleBase`
781- The axis scale type to apply.
780+ value : str or `.ScaleBase`
781+ The axis scale type to apply. Valid string values are the names of scale
782+ classes ("linear", "log", "function",...). These may be the names of any
783+ of the :ref:`built-in scales<builtin_scales>` or of any custom scales
784+ registered using `matplotlib.scale.register_scale`.
782785
783786 **kwargs
784- Different keyword arguments are accepted, depending on the scale.
785- See the respective class keyword arguments:
786-
787- - `matplotlib.scale.LinearScale`
788- - `matplotlib.scale.LogScale`
789- - `matplotlib.scale.SymmetricalLogScale`
790- - `matplotlib.scale.LogitScale`
791- - `matplotlib.scale.FuncScale`
792- - `matplotlib.scale.AsinhScale`
793-
794- Notes
795- -----
796- By default, Matplotlib supports the above-mentioned scales.
797- Additionally, custom scales may be registered using
798- `matplotlib.scale.register_scale`. These scales can then also
799- be used here.
787+ If *value* is a string, keywords are passed to the instantiation method of
788+ the respective class.
800789 """
801790 name = self ._get_axis_name ()
802791 old_default_lims = (self .get_major_locator ()
0 commit comments