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
Conversion from np.array to scalar is no longer supported in new numpy, so in carFactory. In my work I came across this problem and I don't want to change the numpy version due to other compatible problem.
I suggest using .item() instead of feed it into dpg.draw_polygon(drawVex, color=vcolor, fill=vcolor, parent=node) directly.
The text was updated successfully, but these errors were encountered:
Conversion from np.array to scalar is no longer supported in new numpy, so in carFactory. In my work I came across this problem and I don't want to change the numpy version due to other compatible problem.
I suggest using
.item()
instead of feed it intodpg.draw_polygon(drawVex, color=vcolor, fill=vcolor, parent=node)
directly.The text was updated successfully, but these errors were encountered: