[matplotlib-devel] Problem with violinplot
Hi all, violinplot is crashing with singular matrix data. See example. Is this behaviour for a singular matrix intended or just a bug? Cheers Elmar # import numpy as np import matplotlib.pyplot as plt # data mimicing the # original cumsum data (may sum up to 100) N = 100 y1 = np.random.randn(N) + 3.0 y2 = np.random.randn(N) * 5.0 + 50 y3 = np.ones(N) * 100 # data set causing violinplot problem plt.violinplot([y1, y2, y3]) plt.boxplot([y1, y2, y3]) # ok plt.ylim(0,110) # OS: Debian Anaconda 2.3.0 (64-bit) Python 2.7.10 numpy 2.3.0 matplotlib 1.4.3 -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] Problem with violinplot
The KDE computation code is a copy of the KDE code from scipy ( https://github.com/scipy/scipy/blob/master/scipy/stats/kde.py), I suggest raising this issue on their mailing list/github. I strongly suspect that violin plot should be doing data sanitation on the way in or catching exceptions like this, but I am not familiar enough with the math to be sure what it should do instead. Tom On Fri, Jul 3, 2015 at 11:41 AM elmar werling wrote: > > Hi all, > > violinplot is crashing with singular matrix data. See example. > > Is this behaviour for a singular matrix intended or just a bug? > > Cheers > Elmar > > > > # > import numpy as np > import matplotlib.pyplot as plt > > # data mimicing the > # original cumsum data (may sum up to 100) > N = 100 > y1 = np.random.randn(N) + 3.0 > y2 = np.random.randn(N) * 5.0 + 50 > y3 = np.ones(N) * 100 # data set causing violinplot problem > > plt.violinplot([y1, y2, y3]) > > plt.boxplot([y1, y2, y3]) # ok > plt.ylim(0,110) > > # > > OS: Debian > Anaconda 2.3.0 (64-bit) > Python 2.7.10 > numpy 2.3.0 > matplotlib 1.4.3 > > > > -- > Don't Limit Your Business. Reach for the Cloud. > GigeNET's Cloud Solutions provide you with the tools and support that > you need to offload your IT needs and focus on growing your business. > Configured For All Businesses. Start Your Cloud Today. > https://www.gigenetcloud.com/ > ___ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
Re: [matplotlib-devel] SciPy 2015 BoF Session
There are two matplotlib related BoFs submitted (and scheduled) right now. One is titled “matplotlib 2.0” and the other “visualization”. Hopefully this is what you had in mind, if not let us know and we can schedule another BoF. Kyle > On Jun 22, 2015, at 10:28 AM, Benjamin Root wrote: > > I was thinking that we would have another BoF similar to last year's that > solicited feedback and questions from users. I guess I figured someone else > already filed that BoF. I am guessing that didn't happen? > > Ben Root > > On Sat, Jun 6, 2015 at 10:39 AM, Kyle Mandli wrote: > Members of the matplotlib community, > > As one of the co-chairs in charge of organizing the birds-of-a-feather > sessions at SciPy this year I wanted to reach out to your community to > encourage you to submit a BoF proposal to open up a discussion on topics > related to matplotlib development, future or just general questions. Please > let us know if there is anything we can help with in terms of organization. > > Kyle Mandli and Matt McCormick > > -- > ___ > Matplotlib-devel mailing list > Matplotlib-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/matplotlib-devel > -- Don't Limit Your Business. Reach for the Cloud. GigeNET's Cloud Solutions provide you with the tools and support that you need to offload your IT needs and focus on growing your business. Configured For All Businesses. Start Your Cloud Today. https://www.gigenetcloud.com/ ___ Matplotlib-devel mailing list Matplotlib-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-devel