You are reading documentation for the unreleased version of Matplotlib. Try searching for the released version of this page instead?
Applications are open for the 2018 John Hunter Matplotlib Summer Fellowship. Apply now!
Version 2.2.2.post1701+g250c33e83
matplotlib
Fork me on GitHub

Table Of Contents

matplotlib.pyplot.xscale

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

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.

Examples using matplotlib.pyplot.xscale