Skip to content

BUG: mixed freq timeseries plotting with shared axes (GH13341) #14330

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

Merged

Conversation

jorisvandenbossche
Copy link
Member

@jorisvandenbossche jorisvandenbossche commented Oct 1, 2016

Closes #13341, partly closes #14322 (that example still does not work when first plotting the irregular series)

cc @sinhrks @TomAugspurger

@codecov-io
Copy link

codecov-io commented Oct 1, 2016

Current coverage is 85.26% (diff: 93.75%)

No coverage report found for master at b1d9599.

Powered by Codecov. Last update b1d9599...b3537e2

Copy link
Contributor

@TomAugspurger TomAugspurger left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good at a glance. Not 100% sure about the best way to fix the other case yet :/

@@ -1584,3 +1584,5 @@ Bug Fixes
- ``PeridIndex`` can now accept ``list`` and ``array`` which contains ``pd.NaT`` (:issue:`13430`)
- Bug in ``df.groupby`` where ``.median()`` returns arbitrary values if grouped dataframe contains empty bins (:issue:`13629`)
- Bug in ``Index.copy()`` where ``name`` parameter was ignored (:issue:`14302`)
- Bug in plotting regular and irregular timeseries using shared axes
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will need to move to 0.19.1 now; Sorry I missed this earlier.

@@ -778,6 +778,42 @@ def test_mixed_freq_irreg_period(self):
irreg.plot()
ps.plot()

def test_mixed_freq_shared_ax(self):
import matplotlib.pyplot as plt
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This matches the other tests, but plt should be available on self here, e.g. self.plt.

@jreback
Copy link
Contributor

jreback commented Nov 25, 2016

@jorisvandenbossche
Copy link
Member Author

Rebased, moved to 0.19.2 and addressed Tom's comment.
Should be good to merge I think when green.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants