I am trying to plot a scatter plot using the .scatter method below. Here
ax.scatter(X[:,0], X[:,1], c = colors, marker = 'o', s=80, edgecolors = 'none')
with the input/args classes below:
X[:,0]] type: <class 'numpy.matrixlib.defmatrix.matrix'>
X[:,1]] type: <class 'numpy.matrixlib.defmatrix.matrix'>
colors type: <class 'list'>
however python is throwing a value error as seen here: error image
Put the thing in brackets:
plt.scatter([X[:,0]],[X[:,1]])