matplotlib.pyplot.yscale#

matplotlib.pyplot.yscale(value,**kwargs)[source]#

Set the y-axis scale.

Parameters
value{"linear", "log", "symlog", "logit", ...} orScaleBase

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 usingmatplotlib.scale.register_scale. These scales can then alsobe used here.

Examples usingmatplotlib.pyplot.yscale#

Custom scale

Custom scale

Custom scale
Pyplot tutorial

Pyplot tutorial

Pyplot tutorial