Skip to content

FIX: re-jigger deprecation of rcParams using machinery in __init__ #10379

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

Merged
merged 1 commit into from
Feb 5, 2018

Conversation

tacaswell
Copy link
Member

PR Summary

This suppresses the warnings in the test suite and removes

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant

@tacaswell tacaswell added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Feb 5, 2018
@tacaswell tacaswell added this to the v2.2 milestone Feb 5, 2018
@tacaswell tacaswell requested a review from anntzer February 5, 2018 01:44
@tacaswell
Copy link
Member Author

Alternative to #10378 sorry, I did not see that one existed! I think this one is a bit better as it cleans out all of the internal usage.

@jklymak
Copy link
Member

jklymak commented Feb 5, 2018

No problem. I was just hacking. Glad you have a proper solution.

Copy link
Member

@QuLogic QuLogic left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fixes Travis and local pytest for me.

@@ -83,16 +83,16 @@
if QT_API is None:
# No ETS environment or incompatible so use rcParams.
if rcParams['backend'] == 'Qt5Agg':
QT_API = rcParams['backend.qt5']
QT_API = QT_API_PYQT5
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, but this does't just deprecate the rcparam, it now ignores it, right? Is that what you wanted? Feel free to clear if so, but putting a red x so its noted..

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, but the rc deprecation tools do not have a gentler option

@jklymak jklymak merged commit 0e5345e into matplotlib:master Feb 5, 2018
@tacaswell tacaswell deleted the fix_rcdeprecation branch February 5, 2018 21:47
@QuLogic QuLogic modified the milestones: needs sorting, v2.2.0 Feb 12, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy