You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
FlowCal.plot.violin(data=[[1,2,3],[],[4,5,6]]) still fails in v1.3.0 with the following error:
Traceback (most recent call last):
File "<stdin>", line 1, in<module>
File "/home/jsexton/Downloads/FlowCal-master/FlowCal/plot.py", line 1810, in violin
t = _LogicleTransform(data=data, channel=channel)
File "/home/jsexton/Downloads/FlowCal-master/FlowCal/plot.py", line 271, in __init__
if d.ndim > 1:
AttributeError: 'list' object has no attribute 'ndim'
The following code fails using commit bc98686 (a few commits upstream of when
plot-violin
was merged intodevelop
):The error comes from using
np.min()
to calculate defaults limits for the data axis:np.min()
fails when called on an empty array.The text was updated successfully, but these errors were encountered: