-
-
Notifications
You must be signed in to change notification settings - Fork 18k
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: Fixed plot label shows as None. #8905 #8945
Conversation
low.plot(legend=True) | ||
ax = high.plot(legend=True) | ||
low.plot(legend=True, label='label') | ||
ax = high.plot(legend=True, label='label') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about this, but the legend in this case did show up as 'None'
@TomAugspurger another plotting one |
@papaloizouc pls add a release not in v0.15.2 as well (in bug fix section) |
e49db33
to
dbe6477
Compare
May need some help on this one.
|
@jreback sorry forgot to add it in the tag will keep in mind on the next one |
I'll try to look soon. @papaloizouc does the warning occur when you run this from the interpreter? |
@TomAugspurger yeah i was closer on this yesterday i think i can fix this soon but i still didn't figure out what is wrong with the tests. i removed the |
Great. I'll checkout your branch and see if I can figure out the warning test tonight or tomorrow. |
@@ -99,6 +99,7 @@ Bug Fixes | |||
- Bug in ``BlockManager`` where setting values with different type would break block integrity (:issue:`8850`) | |||
- Bug in ``DatetimeIndex`` when using ``time`` object as key (:issue:`8667`) | |||
- Fix negative step support for label-based slices (:issue:`8753`) | |||
- Fixed given label showing as None (:issue:`#8905`) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
say this is in plotting
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
sure will do, will try to figure out the test warning today
dbe6477
to
8f332e1
Compare
@papaloizouc can you rebase on master and push again (the build failure should be fixed I think) |
8f332e1
to
59ca005
Compare
@jreback i did rebase still failing but when i try it in ipython it looks like the warning shows only the first time i generate the plot. For the first time i can see the same warning in master and my branch. I am not exactly sure what went wrong tho because the test was not failing before. The code i use is:
And i get
|
warnings only show once (for a test) |
@TomAugspurger @jorisvandenbossche pls merge or bump asap (obviously needs fixing though) |
sorry guys i couldn't figure out what went wrong with tests, i get the warning running the single test and running in ipython. spent a lot of time on this but couldn't figure it out. |
It seems that this has been fixed in the meantime by #9574, so closing this |
Fixes #8905