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
plt.scatter(x_train[:, 0], x_train[:, 1], c = y_train)
cause error:
C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\colors.py in _to_rgba_no_colorcycle(c, alpha)
188 if len(c) not in [3, 4]:
--> 189 raise ValueError("RGBA sequence should have length 3 or 4")
190 if len(c) == 3 and alpha is None:
ValueError: RGBA sequence should have length 3 or 4
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
in ()
----> 1 plt.scatter(x_train[:, 0], x_train[:, 1], c = y_train)
The text was updated successfully, but these errors were encountered:
plt.scatter(x_train[:, 0], x_train[:, 1], c = y_train)
cause error:
C:\ProgramData\Anaconda3\lib\site-packages\matplotlib\colors.py in _to_rgba_no_colorcycle(c, alpha)
188 if len(c) not in [3, 4]:
--> 189 raise ValueError("RGBA sequence should have length 3 or 4")
190 if len(c) == 3 and alpha is None:
ValueError: RGBA sequence should have length 3 or 4
During handling of the above exception, another exception occurred:
ValueError Traceback (most recent call last)
in ()
----> 1 plt.scatter(x_train[:, 0], x_train[:, 1], c = y_train)
The text was updated successfully, but these errors were encountered: