converter.py 606 B

1234567891011121314151617
  1. # flake8: noqa
  2. import warnings
  3. from pandas.plotting._converter import (
  4. DatetimeConverter, MilliSecondLocator, PandasAutoDateFormatter,
  5. PandasAutoDateLocator, PeriodConverter, TimeConverter, TimeFormatter,
  6. TimeSeries_DateFormatter, TimeSeries_DateLocator, get_datevalue,
  7. get_finder, time2num)
  8. def register():
  9. from pandas.plotting._converter import register as register_
  10. msg = ("'pandas.tseries.converter.register' has been moved and renamed to "
  11. "'pandas.plotting.register_matplotlib_converters'. ")
  12. warnings.warn(msg, FutureWarning, stacklevel=2)
  13. register_()