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
Hello,
When trying to render a one-dimensional numpy array I am getting the following error.
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The behaviour is quite strange. If I have a 1d array within an equation it seems to render fine but If I define the array it wont render and I get the error.
If anyone has any suggestions how to manage this I would be very grateful.
The text was updated successfully, but these errors were encountered:
This seems to be an issue with rendering physical units in an array but I may be wrong.
@connorferster is there a different way to render 1d arrays that I am missing? I note a similar issue on forallpeople but I think this is slightly different.
Hello,
When trying to render a one-dimensional numpy array I am getting the following error.
The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The behaviour is quite strange. If I have a 1d array within an equation it seems to render fine but If I define the array it wont render and I get the error.
If anyone has any suggestions how to manage this I would be very grateful.
The text was updated successfully, but these errors were encountered: