You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Version 2.1.1.post1094+g835fdc5
matplotlib
Fork me on GitHub

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.