matplotlib / 3.7 / _as_gen / matplotlib.axis.axis.axis_date.html

matplotlib.axis.Axis.axis_date

Axis.axis_date(tz=None)[source]

Set up axis ticks and labels to treat data along this Axis as dates.

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

The timezone used to create date labels.

© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/matplotlib.axis.Axis.axis_date.html