-
-
Notifications
You must be signed in to change notification settings - Fork 18.4k
[Feature Request] Add concise xlabel=, ylabel=, option in plot() method #9093
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
Comments
I just added my perspective on the right way to do this to the stackoverflow post. I don't see a strong need for clutter the APi with this, although to be fair, the plotting API is already pretty cluttered. |
@jreback OK. I would like to try to implement this. |
👍 |
Scientists are taught always include a title and labelled axes on plots. Ideally, the Pandas default plot command would intelligently title and label plots. This is an important issue because adding labels to plots is still too difficult. |
Pandas grabs index name automatically for the x axis, and adds legends automatically. The issue isn't the defaults, it's the lack of an option for overriding those defaults. I think we're open to adding these arguments if someone has the time to submit a pull request. |
Sounds good. I'll take a look and see what I can do. |
Any activity on this? I would like to add a vote for this feature. I think it would make most sense if the default behavior was to intelligently set ylabels--regardless of if it's a standard plot, a |
I'd recommend staring small and just add support for overriding the default
xlablel / ylabel.
…On Thu, Nov 1, 2018 at 2:32 PM paulbalegend ***@***.***> wrote:
Any activity on this? I would like to add a vote for this feature.
I think it would make most sense if the default behavior was to
intelligently set ylabels--regardless of if it's a standard plot, a
subplots=True plot, a secondary_y=whatever plot--instead of the way it
automatically inserts a legend in all of these cases.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#9093 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQHIuprHVQNx8KPi1NXZT9vpz_jz5TGks5uq2hQgaJpZM4DI2Y4>
.
|
The current plot() method for Dataframe cannot set the x/y label in it. Result is more lines of code for just doing this.
As someone commented in that post:
The text was updated successfully, but these errors were encountered: