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

See also

deregister_matplotlib_converters

Remove pandas formatters and converters.