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

Revert "Inconsistent indexes for tick label plotting (#28733)" #39235

Merged
merged 10 commits into from
Jan 18, 2021

Conversation

simonjayhawkins
Copy link
Member

This reverts commit fb379d8.

reverts #28733

cc @nrebena @jreback @WillAyd @charlesdong1991

just the complete revert for now for ci testing, will add commits for release notes. will NOT add regression tests see #38721 (comment)

@simonjayhawkins simonjayhawkins marked this pull request as draft January 17, 2021 18:43
@simonjayhawkins simonjayhawkins added this to the 1.2.1 milestone Jan 17, 2021
@simonjayhawkins simonjayhawkins marked this pull request as ready for review January 17, 2021 19:38
@@ -12,6 +12,10 @@ including other versions of pandas.

.. _whatsnew_121.regressions:

We have reverted a commit that resulted in several plotting related regressions in pandas 1.2 (:issue:`38969`, :issue:`38736`, :issue:`38865`, :issue:`38947` and :issue:`39126`)

As a result, bugs reported as fixed in pandas 1.2 are again present (:issue:`26186` and :issue:`11465`)
Copy link
Member

@jorisvandenbossche jorisvandenbossche Jan 18, 2021

Choose a reason for hiding this comment

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

I would move this below the list of regressions below? (now it's not under the "Fixed regressions" title)

Copy link
Member Author

Choose a reason for hiding this comment

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

we didn't actually 'fix', but will defer to you on documentation layout.

Copy link
Member

Choose a reason for hiding this comment

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

The regressions are still fixed, no? (although tests are not yet added, I am assuming this fixed the regression reports)

Copy link
Member Author

Choose a reason for hiding this comment

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

I see your point. I sort of meant we didn't fix as we broke other things. but maybe regression section is more appropriate than the introductory sentences.

@@ -751,6 +751,7 @@ Plotting

- Bug in :meth:`DataFrame.plot` was rotating xticklabels when ``subplots=True``, even if the x-axis wasn't an irregular time series (:issue:`29460`)
- Bug in :meth:`DataFrame.plot` where a marker letter in the ``style`` keyword sometimes caused a ``ValueError`` (:issue:`21003`)
- Bug in :meth:`DataFrame.plot.bar` and :meth:`Series.plot.bar` where ticks positions were assigned by value order instead of using the actual value for numeric or a smart ordering for string (:issue:`26186`, :issue:`11465`)
Copy link
Member

Choose a reason for hiding this comment

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

Maybe add something here like: This fix has been reverted in pandas 1.2.1, see :doc:`v1.2.1` "

Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
Co-authored-by: Joris Van den Bossche <jorisvandenbossche@gmail.com>
@jreback jreback merged commit 358c614 into pandas-dev:master Jan 18, 2021
@jreback
Copy link
Contributor

jreback commented Jan 18, 2021

thanks @simonjayhawkins

@jreback
Copy link
Contributor

jreback commented Jan 18, 2021

@meeseeksdev backport 1.2.x

@lumberbot-app
Copy link

lumberbot-app bot commented Jan 18, 2021

Something went wrong ... Please have a look at my logs.

@simonjayhawkins simonjayhawkins deleted the revert-28733 branch January 18, 2021 15:36
simonjayhawkins added a commit that referenced this pull request Jan 18, 2021
…ing (#28733)" (#39252)

Co-authored-by: Simon Hawkins <simonjayhawkins@gmail.com>
nofarm3 pushed a commit to nofarm3/pandas that referenced this pull request Jan 21, 2021
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.

3 participants