pandas.plotting.register_matplotlib_converters

pandas.plotting.register_matplotlib_converters(explicit=True)[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_converter
Scroll To Top