matplotlib.pyplot.yscale#
- matplotlib.pyplot.yscale(value,**kwargs)[source]#
Set the yaxis' scale.
- Parameters:
- valuestr or
ScaleBase
The axis scale type to apply. Valid string values are the names of scaleclasses ("linear", "log", "function",...). These may be the names of anyof thebuilt-in scales or of any custom scalesregistered using
matplotlib.scale.register_scale
.- **kwargs
Ifvalue is a string, keywords are passed to the instantiation method ofthe respective class.
- valuestr or
Notes
Note
This is thepyplot wrapper for
axes.Axes.set_yscale
.
Examples usingmatplotlib.pyplot.yscale
#
On this page