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

V2 matplotlib (& numpy) #26

Open
Jelleas opened this issue Jul 20, 2023 · 0 comments
Open

V2 matplotlib (& numpy) #26

Jelleas opened this issue Jul 20, 2023 · 0 comments
Labels

Comments

@Jelleas
Copy link
Owner

Jelleas commented Jul 20, 2023

Matplotlib has multiple blocking functions that often require disabling, and there is no easy way to do it.

New api:

monkeypatch.patchMatplotlib() # tries to set Agg as backend and disables blocking functions
monkeypatch.patchNumpy() # don't throw floating point warnings, throw errors instead
@Jelleas Jelleas added the v2 label Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant