matplotlib / 3.4.3 / _as_gen / matplotlib.axes.axes.xaxis_date.html /

matplotlib.axes.Axes.xaxis_date

Axes. xaxis_date ( tz=None )

Set up axis ticks and labels to treat data along the xaxis as dates.

Parameters:
tz str or datetime.tzinfo, default: rcParams["timezone"] (default: 'UTC')

The timezone used to create date labels.

Examples using matplotlib.axes.Axes.xaxis_date

© 2012–2021 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/3.4.3/api/_as_gen/matplotlib.axes.Axes.xaxis_date.html