matplotlib.axis.YAxis.axis_date

YAxis.axis_date(tz=None)

设置轴刻度和标签,将沿此轴的数据视为日期。

参数:
tztzinfo或str或无

用于创建日期标签的时区。