Skip to content

BUG: Plot with label would overwrite index name #8541

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

TomAugspurger
Copy link
Contributor

Closes #8494

I took the easy solution and just copied the series.

Alternatively we could attach a label property to the MPLObject, and check that wherever we check the index name.

@jreback jreback added this to the 0.15.1 milestone Oct 13, 2014
@@ -1112,3 +1112,5 @@ Bug Fixes
- Bug in ``Series`` that allows it to be indexed by a ``DataFrame`` which has unexpected results. Such indexing is no longer permitted (:issue:`8444`)
- Bug in item assignment of a ``DataFrame`` with multi-index columns where right-hand-side columns were not aligned (:issue:`7655`)
- Suppress FutureWarning generated by NumPy when comparing object arrays containing NaN for equality (:issue:`7065`)
- Fixed bug where plotting a column ``y`` and specifying a label
Copy link
Contributor

Choose a reason for hiding this comment

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

move to 0.15.1

@jreback
Copy link
Contributor

jreback commented Oct 25, 2014

pls rebase and change the location of the release note

@TomAugspurger
Copy link
Contributor Author

Rebased. I'll merge when Travis is green.

TomAugspurger pushed a commit that referenced this pull request Oct 28, 2014
BUG: Plot with ``label`` would overwrite index name
@TomAugspurger TomAugspurger merged commit 20be789 into pandas-dev:master Oct 28, 2014
@jreback jreback modified the milestones: 0.15.2, 0.15.1 Oct 30, 2014
@TomAugspurger TomAugspurger deleted the plot-label-index-name branch April 5, 2017 02:06
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.

Setting the label parameter in the call to DF.plot alters the DataFrame's index name
2 participants