-
Notifications
You must be signed in to change notification settings - Fork 276
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
BUG: yt may leak matplotlib configuration globally at runtime #4459
Closed
Comments
This was referenced Jun 6, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug report
Bug summary
Matplotlib contour styles for monochrome contour sets can be changed globally by yt at runtime (this is triggered by importing from
yt.visualization._mpl_imports
, which isn't implied byimport yt
).The problematic line is very obviously:
yt/yt/visualization/_mpl_imports.py
Line 10 in e525381
(in fact I spotted the problem in the code first, and then worked on a script to show its undesired effect)
Code for reproduction
Actual outcome
Expected outcome
pure matplotlib graphs should not be affected by yt at runtime.
The text was updated successfully, but these errors were encountered: