matplotlib.axes.Axes.yaxis_date

Axes.yaxis_date(tz=None)

Sets 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.

Examples using matplotlib.axes.Axes.yaxis_date