Skip to content
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

BUG: fix incorrect xticklabels when specifying xticks (GH11529) #11531

Merged

Conversation

jorisvandenbossche
Copy link
Member

Fixes #11529

@sinhrks in PR #10717 you moved the setting of the ticklabels from _adorn_subplots to its own function _post_plot_logic_common. But this is called before _adorn_subplots, and the specified xticks are only set in _adorn_subplots, so now it does not use the new xticks to determine the xticklabels.
I just switched the order of the two functions. At first sight this seems OK, but do you know if there could be any side effects of switching the order?

@sinhrks
Copy link
Member

sinhrks commented Nov 7, 2015

Thanks for the fix. The fix looks valid (I've overlooked the side effect in #10717).

jorisvandenbossche added a commit that referenced this pull request Nov 9, 2015
BUG: fix incorrect xticklabels when specifying xticks (GH11529)
@jorisvandenbossche jorisvandenbossche merged commit 946af10 into pandas-dev:master Nov 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants