You are reading an old version of the documentation (v2.1.2). For the latest version see https://matplotlib.org/stable/api/_as_gen/matplotlib.axes.Axes.set_xscale.html
Version 2.1.2
matplotlib
Fork me on GitHub


Travis-CI:

This Page

matplotlib.axes.Axes.set_xscale

Axes.set_xscale(value, **kwargs)

Set the x-axis scale.

Parameters:

value : {“linear”, “log”, “symlog”, “logit”}

scaling strategy to apply

Notes

Different kwargs are accepted, depending on the scale. See the scale module for more information.