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

Add violin plots #2873

Closed
juliohm opened this issue Mar 6, 2014 · 8 comments
Closed

Add violin plots #2873

juliohm opened this issue Mar 6, 2014 · 8 comments
Milestone

Comments

@juliohm
Copy link

juliohm commented Mar 6, 2014

Matplotlib misses violin plots. There is some work on the web, but I don't know if the author pushed it further.

These kinds of plots are quite popular in R and it would be great to have them in Python too.

@tacaswell tacaswell added this to the v1.5.x milestone Mar 6, 2014
@tacaswell
Copy link
Member

iirc matplotlib has a no-scipy import policy so that version of the work can not be used directly.

@juliohm
Copy link
Author

juliohm commented Mar 6, 2014

I totally agree with the policy and would rewrite KDE myself if I had time. Too busy at the moment.

@WeatherGod
Copy link
Member

If I recall correctly, I think Pandas included support for these plots.

@juliohm
Copy link
Author

juliohm commented Mar 7, 2014

@WeatherGod, I don't think so. At least I wasn't able to find it in the API reference.

Anyways, the De facto standard for plotting in Python is matplotlib, not Pandas.

@WeatherGod
Copy link
Member

You are right, it wasn't Pandas. It was statsmodels:
http://statsmodels.sourceforge.net/devel/generated/statsmodels.graphics.boxplots.violinplot.html

Yes, the de facto standard for plotting in python is matplotlib. However,
that being said, there have been give-n-takes among various packages on who
is responsible for some of the more advanced plotting interfaces. Nearly
all of the other tools (i.e., Pandas, statsmodels, etc.) use matplotlib for
their plotting, just bringing to bear their more advanced libraries to
compute more complicated statistics and data representations.

In the past, the focus has been to push these types of plots over to these
various tools. Lately, however, I have seen some push back -- not
necessarially back to matplotlib -- out of those toolkits and into
something else entirely. Who knows, maybe one day it will make sense to
have matplotlib do all of these plots. But right now, it doesn't fit within
our limited scope of providing cross-platform plotting primitives.

On Fri, Mar 7, 2014 at 4:18 PM, Júlio Hoffimann Mendes <
notifications@github.com> wrote:

@WeatherGod https://github.com/WeatherGod, I don't think so. At least I
wasn't able to find it in the API referencehttp://pandas.pydata.org/pandas-docs/stable/api.html
.

Anyways, the De facto standard for plotting in Python is matplotlib, not
Pandas.

Reply to this email directly or view it on GitHubhttps://github.com//issues/2873#issuecomment-37068730
.

@juliohm
Copy link
Author

juliohm commented Mar 11, 2014

@WeatherGod, thank you for pointing it out. I'm already using bean plots from statsmodels.

@solvents solvents mentioned this issue Apr 19, 2014
@juliohm
Copy link
Author

juliohm commented Oct 11, 2014

Could you please confirm this issue can now be closed?

@tacaswell
Copy link
Member

Yup, this should have been closed, thanks for catching that!

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

3 participants