Skip to content
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

Return Boxplot Instance #985

Closed
jseabold opened this issue Apr 1, 2012 · 6 comments
Closed

Return Boxplot Instance #985

jseabold opened this issue Apr 1, 2012 · 6 comments
Milestone

Comments

@jseabold
Copy link
Contributor

jseabold commented Apr 1, 2012

I saw that @wesm was doing a bit of a plotting refactor. One thing that might be nice is to optionally return the Boxplot dict from matplotlib for df.boxplot. It makes it easier to do ex post styling. See: http://matplotlib.sourceforge.net/examples/pylab_examples/boxplot_demo2.html

@wesm
Copy link
Member

wesm commented Apr 2, 2012

Consider it a done deal

@wesm wesm closed this as completed Apr 2, 2012
@jseabold
Copy link
Contributor Author

jseabold commented Apr 2, 2012

Ah, great. Might we also want the axes returned too in this case? It doesn't look like they are from just a quick look.

@wesm
Copy link
Member

wesm commented Apr 2, 2012

possibly. what do you think it should return from a grid of boxplots?

@jseabold
Copy link
Contributor Author

jseabold commented Apr 2, 2012

Hmm. A list of lists (or array, or dataframe) containing dicts? If it's
asked for. I thought about a ret_boxplot=False default or something like
this. I was just playing with some boxplots earlier today and noticed this
dict when I wanted to change some things. I was thinking you'd be able to
get it somehow from the axes after a boxplot was made, but I couldn't
figure out how.

@wesm
Copy link
Member

wesm commented Apr 2, 2012

Yeah. Of course on the other hand I think it's absurd how much code is required to do the customization in the linked matplotlib gallery plot, and wonder if perhaps building a better abstraction is in order

@jseabold
Copy link
Contributor Author

jseabold commented Apr 2, 2012

True. I don't think it would be too much work to add a few kwargs to ax.boxplot in matplotlib either.

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

No branches or pull requests

2 participants