W3cubDocs

/Matplotlib 3.5

matplotlib.axes.Axes.yaxis_date

Axes.yaxis_date(tz=None)[source]

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

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

The timezone used to create date labels.

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