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
This happens because plot._LogicleTransform checks for multidimensional data using the ndim attribute, which numpy arrays have but lists do not. (The plot violin functions use _LogicleTransform to calculate default bin edges and implicitly when they set the Logicle scale. In both cases, data are provided as is.)
A simple work-around is to pass a numpy array to the plot functions.
The text was updated successfully, but these errors were encountered:
Violin plots fail with list inputs when data scale is
logicle
inFlowCal v1.3.0
.E.g.,
This happens because
plot._LogicleTransform
checks for multidimensional data using thendim
attribute, which numpy arrays have but lists do not. (The plot violin functions use_LogicleTransform
to calculate default bin edges and implicitly when they set the Logicle scale. In both cases, data are provided as is.)A simple work-around is to pass a numpy array to the plot functions.
The text was updated successfully, but these errors were encountered: