Skip to content

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.

2 participants