matplotlib.pyplot.xscale
-
matplotlib.pyplot.
xscale
( value, **kwargs ) [source] -
Set the x-axis scale.
Parameters: -
value
{"linear", "log", "symlog", "logit", ...} or
ScaleBase
-
The axis scale type to apply.
- **kwargs
-
Different keyword arguments are accepted, depending on the scale. See the respective class keyword arguments:
Notes
By default, Matplotlib supports the above mentioned scales. Additionally, custom scales may be registered using
matplotlib.scale.register_scale
. These scales can then also be used here. -
value
{"linear", "log", "symlog", "logit", ...} or
Examples using matplotlib.pyplot.xscale
© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/matplotlib.pyplot.xscale.html