Skip to content

Fix implicitly registered converter warning #26760

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
TomAugspurger opened this issue Jun 10, 2019 · 0 comments · Fixed by #26770
Closed

Fix implicitly registered converter warning #26760

TomAugspurger opened this issue Jun 10, 2019 · 0 comments · Fixed by #26770
Labels
Blocker Blocking issue or pull request for an upcoming release
Milestone

Comments

@TomAugspurger
Copy link
Contributor

This shouldn't warn, since it's a Series.plot.

The warning should only show up for Axes.plot(datetimelike, ndarray).

In [1]: import pandas as pd

In [2]: import numpy as np

In [3]:    ts = pd.Series(np.random.randn(1000),
   ...:                   index=pd.date_range('1/1/2000', periods=1000))
   ...:    ts = ts.cumsum()

In [4]: ts.plot()
/Users/taugspurger/sandbox/pandas/pandas/plotting/_matplotlib/converter.py:96: FutureWarning: Using an implicitly registered datetime converter for a matplotlib plotting method. The converter was registered by pandas on import. Future versions of pandas will require you to explicitly register
matplotlib converters.
@TomAugspurger TomAugspurger added this to the 0.25.0 milestone Jun 10, 2019
@TomAugspurger TomAugspurger added the Blocker Blocking issue or pull request for an upcoming release label Jun 10, 2019
TomAugspurger added a commit to TomAugspurger/pandas that referenced this issue Jun 10, 2019
Closes pandas-dev#26760

Tests were being skipped, because the module name changed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Blocker Blocking issue or pull request for an upcoming release
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant