Skip to content

BUG: Make secondary_y work properly for bar plots GH3598 #4024

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 2 commits into from
Jun 26, 2013

Conversation

danbirken
Copy link
Contributor

As far as I'm aware this seems to work properly, but I'm not sure if this was done the previous way for a reason I don't understand.

Fixes: #3598

@cpcloud
Copy link
Member

cpcloud commented Jun 25, 2013

can u add release notes?

@danbirken
Copy link
Contributor Author

Done

@cpcloud
Copy link
Member

cpcloud commented Jun 25, 2013

@jreback looks ok 2 me, thoughts?

@jreback
Copy link
Contributor

jreback commented Jun 25, 2013

is mark_right a public option?

@danbirken
Copy link
Contributor Author

In a theoretical sense they should be public, in the spirit of this option being similar to "stacked" for bar plots or the same properly "mark_right" for a LinePlot; it is a perfectly reasonable publicly editable properly of a plot.

However, since via standard use of (series|frame).plot(kind='xyz'), you never actually get to interact with the XyzPlot object (and nowhere else in the pandas codebase are these plot objects ever interacted with) I don't think it matters all that much, and since there already is a previous convention I believe sticking with that is reasonable.

@jreback
Copy link
Contributor

jreback commented Jun 25, 2013

that's all fine
didn't know if they belong in the doc string

@danbirken
Copy link
Contributor Author

I just added it to the docstring of plot_frame() [along with fixing minor mistake in secondary_y]. It is getting a little verbose, but more documentation is probably better than less in general. Up to you.

@jreback
Copy link
Contributor

jreback commented Jun 26, 2013

that looks good thxs

jreback added a commit that referenced this pull request Jun 26, 2013
BUG: Make secondary_y work properly for bar plots GH3598
@jreback jreback merged commit b5c5442 into pandas-dev:master Jun 26, 2013
@jreback
Copy link
Contributor

jreback commented Jun 26, 2013

thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make secondary_y not being ignored in bar charts
3 participants