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
Python 2.7.10, matplotlib 1.5.1, GNU/linux
Python from Ubuntu; matplotlib from pip --user
import pylab as plt
import numpy as np
x=np.arange(10,20)
y=np.arange(10,20)
plt.arrow(x,y,x+1,y*0)
Line 1170 in patches.py (if not length) fails in above if the distance+head_length is a numpy array rather than a list:
ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The text was updated successfully, but these errors were encountered:
cpbl
changed the title
patches fails when data are array, not lis
patches fails when data are array, not list
Mar 5, 2016
Python 2.7.10, matplotlib 1.5.1, GNU/linux
Python from Ubuntu; matplotlib from pip --user
Line 1170 in patches.py (
if not length
) fails in above if the distance+head_length is a numpy array rather than a list:ValueError: The truth value of an array with more than one element is ambiguous. Use a.any() or a.all()
The text was updated successfully, but these errors were encountered: