Skip to content

Fix showing "None" as ylabel in :meth:Series.plot when not setting ylabel #46445

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
merged 4 commits into from
Mar 21, 2022

Conversation

iansheng
Copy link
Contributor

@iansheng iansheng commented Mar 20, 2022

here, Mctoel mentioned that if series.plot(kind=pie) does not specify ylabel, "None" will appear as ylabel in the figure.
image

@@ -30,7 +30,7 @@ Bug fixes
~~~~~~~~~
- Fix some cases for subclasses that define their ``_constructor`` properties as general callables (:issue:`46018`)
- Fixed "longtable" formatting in :meth:`.Styler.to_latex` when ``column_format`` is given in extended format (:issue:`46037`)
-
- Fix showing "None" as ylabel in :meth:`Series.plot` when not setting ylabel (:issue:`46129`)
Copy link
Contributor

Choose a reason for hiding this comment

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

this is only for specific plots yes?

move to 1.5 Bug fixes for visualization

@jreback jreback added this to the 1.5 milestone Mar 21, 2022
@jreback jreback merged commit d5f2e5c into pandas-dev:main Mar 21, 2022
@jreback
Copy link
Contributor

jreback commented Mar 21, 2022

thanks @iansheng

yehoshuadimarsky pushed a commit to yehoshuadimarsky/pandas that referenced this pull request Jul 13, 2022
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.

BUG: df.plot(kind='barh') does not show xlabel
2 participants