pandas.plotting.register_matplotlib_converters

pandas.plotting.register_matplotlib_converters()[source]

Register Pandas Formatters and Converters with matplotlib.

This function modifies the global matplotlib.units.registry dictionary. Pandas adds custom converters for

  • pd.Timestamp

  • pd.Period

  • np.datetime64

  • datetime.datetime

  • datetime.date

  • datetime.time