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
I get a LinAlgError: singular matrix when attempting to plot a joyplot on data that has groups with all zeros (i.e. all mass at exactly 0). It seems this is an issue from the direct pass-through to the kde estimator and ultimately comes from trying to take the inverse of a singular covariance matrix. While one could argue that is reasonable expected behavior, I feel a better default in this situation would be to plot a vertical line at x = 0, y = 1 (no tails). You can reproduce the described error via:
I get a
LinAlgError: singular matrix
when attempting to plot a joyplot on data that has groups with all zeros (i.e. all mass at exactly 0). It seems this is an issue from the direct pass-through to thekde
estimator and ultimately comes from trying to take the inverse of a singular covariance matrix. While one could argue that is reasonable expected behavior, I feel a better default in this situation would be to plot a vertical line at x = 0, y = 1 (no tails). You can reproduce the described error via:Versions:
The exact error message is:
The text was updated successfully, but these errors were encountered: