Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Convert np.array to a scalar value #44

Closed
Mafumaful opened this issue Dec 12, 2024 · 1 comment
Closed

Issue with Convert np.array to a scalar value #44

Mafumaful opened this issue Dec 12, 2024 · 1 comment

Comments

@Mafumaful
Copy link

Mafumaful commented Dec 12, 2024

image

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.

Copy link

Stale issue, no activity

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant