@@ -760,26 +760,15 @@ def _set_axes_scale(self, value, **kwargs):
760760
761761 Parameters
762762 ----------
763- value : {"linear", "log", "symlog", "logit", ...} or `.ScaleBase`
764- The axis scale type to apply.
763+ value : str or `.ScaleBase`
764+ The axis scale type to apply. Valid string values are the names of scale
765+ classes ("linear", "log", "function",...). These may be the names of any
766+ of the :ref:`built-in scales<builtin_scales>` or of any custom scales
767+ registered using `matplotlib.scale.register_scale`.
765768
766769 **kwargs
767- Different keyword arguments are accepted, depending on the scale.
768- See the respective class keyword arguments:
769-
770- - `matplotlib.scale.LinearScale`
771- - `matplotlib.scale.LogScale`
772- - `matplotlib.scale.SymmetricalLogScale`
773- - `matplotlib.scale.LogitScale`
774- - `matplotlib.scale.FuncScale`
775- - `matplotlib.scale.AsinhScale`
776-
777- Notes
778- -----
779- By default, Matplotlib supports the above-mentioned scales.
780- Additionally, custom scales may be registered using
781- `matplotlib.scale.register_scale`. These scales can then also
782- be used here.
770+ If *value* is a string, keywords are passed to the instantiation method of
771+ the respective class.
783772 """
784773 name = self ._get_axis_name ()
785774 old_default_lims = (self .get_major_locator ()
0 commit comments