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

Visualisation does not wot work because np.mat is removed #4979

Closed
weidtn opened this issue Aug 14, 2024 · 2 comments
Closed

Visualisation does not wot work because np.mat is removed #4979

weidtn opened this issue Aug 14, 2024 · 2 comments

Comments

@weidtn
Copy link

weidtn commented Aug 14, 2024

Whenever I try to run an example that uses the visualisation I get errors, because numpy's mat was removed in numpy 2.0:

AttributeError: `np.mat` was removed in the NumPy 2.0 release. Use `np.asmatrix` instead.. Did you mean: '_mat'?                                                                                                                    
@weidtn weidtn changed the title Visulaization does not wot work because np.mat is removed Visualisation does not wot work because np.mat is removed Aug 14, 2024
@jngrad
Copy link
Member

jngrad commented Aug 14, 2024

This was already fixed by #4971.

Also, please keep in mind we don't officially support NumPy 2.0 yet:

numpy>=1.26.4,<2.0

@weidtn
Copy link
Author

weidtn commented Aug 14, 2024

Oh okay sorry, did not see that when I was searching github. Maybe because it was not an issue.

@weidtn weidtn closed this as completed Aug 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants