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.

© 2008–2021, AQR Capital Management, LLC, Lambda Foundry, Inc. and PyData Development Team
Licensed under the 3-clause BSD License.
https://pandas.pydata.org/pandas-docs/version/1.3.4/reference/api/pandas.plotting.register_matplotlib_converters.html