Tag Archives: Python draw error

Python draw error: ValueError: ‘color’ kwarg must be a color or sequence of color specs. For a sequence of values to b

Error Message:

ValueError: ‘color’ kwarg must be a color or sequence of color specs. For a sequence of values to b
Error Codes:

plt.scatter(data0[:,0],data0[:,1],color='',edgecolor='green',marker='o')

Solution:

plt.scatter(data0[:,0],data0[:,1],color='white',edgecolor='green',marker='o')