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
The problem is from this: sep_color= (yn+1)/2.0; line, since it return's a array of list of list. And the pl.scatter() cannot accept array of list as parameter.
I unlisted the sep_color.
# Computing the colors for the points from itertools import chain sep_color = (yn+1)/2.0; sep_color = list(chain(*sep_color))
The text was updated successfully, but these errors were encountered:
The problem is from this:
sep_color= (yn+1)/2.0;
line, since it return's a array of list of list. And thepl.scatter()
cannot accept array of list as parameter.I unlisted the sep_color.
# Computing the colors for the points
from itertools import chain
sep_color = (yn+1)/2.0;
sep_color = list(chain(*sep_color))
The text was updated successfully, but these errors were encountered: