I'm pleased to see violinplot added to mpl-1.4. One question. I might like to annotate with some statistic. Like boxplot can show quantiles. I might like to show either quantiles, or some other statistic (3 sigma) on my violinplot. After all, violinplot is advertised as an improved boxplot, but it seems to be missing this feature. -- -- Those who don't understand recursion are doomed to repeat it
Hi Neal, I don't know if you need exclusively matplotlib tools to apply your violin plot, but seaborn package [1, 2] do this very well. I hope you enjoy it! Cheers, Arnaldo. [1] http://web.stanford.edu/~mwaskom/software/seaborn/examples/violinplots.html [2] https://github.com/mwaskom/seaborn --- *Arnaldo D'Amaral Pereira Granja Russo* Lab. de Estudos dos Oceanos e Clima Instituto de Oceanografia - FURG 2014年08月27日 12:15 GMT-03:00 Neal Becker <ndb...@gm...>: > I'm pleased to see violinplot added to mpl-1.4. One question. I might > like to > annotate with some statistic. Like boxplot can show quantiles. I might > like to > show either quantiles, or some other statistic (3 sigma) on my violinplot. > After all, violinplot is advertised as an improved boxplot, but it seems > to be > missing this feature. > > -- > -- Those who don't understand recursion are doomed to repeat it > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users >
We also welcome PRs! Adding that feature should be pretty straight forward. Iirc it should be a matter of adding an extra key to the dictionary and a conditional to draw the lines if those keys exist. Tom On Aug 27, 2014 4:57 PM, "Arnaldo Russo" <arn...@gm...> wrote: > Hi Neal, > I don't know if you need exclusively matplotlib tools to apply your violin > plot, but seaborn package [1, 2] do this very well. > I hope you enjoy it! > Cheers, > Arnaldo. > > [1] > http://web.stanford.edu/~mwaskom/software/seaborn/examples/violinplots.html > [2] https://github.com/mwaskom/seaborn > > > --- > *Arnaldo D'Amaral Pereira Granja Russo* > Lab. de Estudos dos Oceanos e Clima > Instituto de Oceanografia - FURG > > > > > 2014年08月27日 12:15 GMT-03:00 Neal Becker <ndb...@gm...>: > >> I'm pleased to see violinplot added to mpl-1.4. One question. I might >> like to >> annotate with some statistic. Like boxplot can show quantiles. I might >> like to >> show either quantiles, or some other statistic (3 sigma) on my violinplot. >> After all, violinplot is advertised as an improved boxplot, but it seems >> to be >> missing this feature. >> >> -- >> -- Those who don't understand recursion are doomed to repeat it >> >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> > > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >
As others noted, seaborn does very nice violin plots. I was hoping the mpl version would replace that. On Thu, Aug 28, 2014 at 8:04 AM, Thomas Caswell <tca...@gm...> wrote: > We also welcome PRs! Adding that feature should be pretty straight > forward. > > Iirc it should be a matter of adding an extra key to the dictionary and a > conditional to draw the lines if those keys exist. > > Tom > On Aug 27, 2014 4:57 PM, "Arnaldo Russo" <arn...@gm...> wrote: > >> Hi Neal, >> I don't know if you need exclusively matplotlib tools to apply your >> violin plot, but seaborn package [1, 2] do this very well. >> I hope you enjoy it! >> Cheers, >> Arnaldo. >> >> [1] >> http://web.stanford.edu/~mwaskom/software/seaborn/examples/violinplots.html >> [2] https://github.com/mwaskom/seaborn >> >> >> --- >> *Arnaldo D'Amaral Pereira Granja Russo* >> Lab. de Estudos dos Oceanos e Clima >> Instituto de Oceanografia - FURG >> >> >> >> >> 2014年08月27日 12:15 GMT-03:00 Neal Becker <ndb...@gm...>: >> >>> I'm pleased to see violinplot added to mpl-1.4. One question. I might >>> like to >>> annotate with some statistic. Like boxplot can show quantiles. I might >>> like to >>> show either quantiles, or some other statistic (3 sigma) on my >>> violinplot. >>> After all, violinplot is advertised as an improved boxplot, but it seems >>> to be >>> missing this feature. >>> >>> -- >>> -- Those who don't understand recursion are doomed to repeat it >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Slashdot TV. >>> Video for Nerds. Stuff that matters. >>> http://tv.slashdot.org/ >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >> >> >> >> ------------------------------------------------------------------------------ >> Slashdot TV. >> Video for Nerds. Stuff that matters. >> http://tv.slashdot.org/ >> _______________________________________________ >> Matplotlib-users mailing list >> Mat...@li... >> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >> >> -- *Those who don't understand recursion are doomed to repeat it*
No reason why it shouldn't. I would be more than happy to see that feature added. I could perhaps be convinced that it is a "bug" that it is in the boxplot function and not the violin function so that it could get out into a 1.4.1 release sooner. ::wink:: On Thu, Aug 28, 2014 at 8:05 AM, Neal Becker <ndb...@gm...> wrote: > As others noted, seaborn does very nice violin plots. I was hoping the > mpl version would replace that. > > > On Thu, Aug 28, 2014 at 8:04 AM, Thomas Caswell <tca...@gm...> > wrote: > >> We also welcome PRs! Adding that feature should be pretty straight >> forward. >> >> Iirc it should be a matter of adding an extra key to the dictionary and a >> conditional to draw the lines if those keys exist. >> >> Tom >> On Aug 27, 2014 4:57 PM, "Arnaldo Russo" <arn...@gm...> wrote: >> >>> Hi Neal, >>> I don't know if you need exclusively matplotlib tools to apply your >>> violin plot, but seaborn package [1, 2] do this very well. >>> I hope you enjoy it! >>> Cheers, >>> Arnaldo. >>> >>> [1] >>> http://web.stanford.edu/~mwaskom/software/seaborn/examples/violinplots.html >>> [2] https://github.com/mwaskom/seaborn >>> >>> >>> --- >>> *Arnaldo D'Amaral Pereira Granja Russo* >>> Lab. de Estudos dos Oceanos e Clima >>> Instituto de Oceanografia - FURG >>> >>> >>> >>> >>> 2014年08月27日 12:15 GMT-03:00 Neal Becker <ndb...@gm...>: >>> >>>> I'm pleased to see violinplot added to mpl-1.4. One question. I might >>>> like to >>>> annotate with some statistic. Like boxplot can show quantiles. I >>>> might like to >>>> show either quantiles, or some other statistic (3 sigma) on my >>>> violinplot. >>>> After all, violinplot is advertised as an improved boxplot, but it >>>> seems to be >>>> missing this feature. >>>> >>>> -- >>>> -- Those who don't understand recursion are doomed to repeat it >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> Slashdot TV. >>>> Video for Nerds. Stuff that matters. >>>> http://tv.slashdot.org/ >>>> _______________________________________________ >>>> Matplotlib-users mailing list >>>> Mat...@li... >>>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>>> >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> Slashdot TV. >>> Video for Nerds. Stuff that matters. >>> http://tv.slashdot.org/ >>> _______________________________________________ >>> Matplotlib-users mailing list >>> Mat...@li... >>> https://lists.sourceforge.net/lists/listinfo/matplotlib-users >>> >>> > > > -- > *Those who don't understand recursion are doomed to repeat it* > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > >