Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Don't import rcParams but rather use mpl.rcParams.#16406
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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
This helps letting modules be imported early in the init process, evenbefore the rcParams object is constructed.I didn't change all cases, just those needed to make matplotlib.scaleimportable into matplotlib.colors.
Codecov Report
@@ Coverage Diff @@## master #16406 +/- ##==========================================- Coverage 80.85% 80.85% -0.01%========================================== Files 307 307 Lines 75745 75748 +3 Branches 9690 9691 +1 ==========================================+ Hits 61245 61246 +1- Misses 11961 11962 +1- Partials 2539 2540 +1
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
Seems like a good start on this to me.
This helps letting modules be imported early in the init process, even
before the rcParams object is constructed.
I didn't change all cases, just those needed to make matplotlib.scale
importable into matplotlib.colors (per#16386).
PR Summary
PR Checklist