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

Reply via email to