10000 Don't update style-blacklisted rcparams in rc_* functions by anntzer · Pull Request #9150 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content

Don't update style-blacklisted rcparams in rc_* functions #9150

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
Jul 15, 2018

Conversation

anntzer
Copy link
Contributor
@anntzer anntzer commented Sep 2, 2017

xref #9135

PR Summary

Don't update style-blacklisted rcparams in rc_* functions.
This avoids e.g. incorrectly updating the "backend" or "interactive" rcParams.

PR Checklist

  • Has Pytest style unit tests
  • Code is PEP 8 compliant
  • New features are documented, with examples if plot related
  • Documentation is sphinx and numpydoc compliant
  • Added an entry to doc/users/next_whats_new/ if major new feature (follow instructions in README.rst there)
  • Documented in doc/api/api_changes.rst if API changed in a backward-incompatible way

This avoids incorrectly updating e.g. the ``backend`` or ``interactive``
rcParams.
@anntzer anntzer added this to the v3.0 milestone Jul 12, 2018
@anntzer
Copy link
Contributor Author
anntzer commented Jul 12, 2018

Would be nice to get this in in relation with #11600, so I'll milestone as 3.0 (but not insisting on it).

@WeatherGod
Copy link
Member

Probably should extend the tests that exist right now for blacklisting. Otherwise, looks good to me.

@anntzer
Copy link
Contributor Author
anntzer commented Jul 12, 2018

Can't see any blacklisting tests in https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/tests/test_style.py. Not saying they shouldn't be added, but that can perhaps be a separate PR?

@WeatherGod
Copy link
Member
WeatherGod commented Jul 12, 2018 via email

@tacaswell tacaswell closed this Jul 15, 2018
@tacaswell tacaswell reopened this Jul 15, 2018
@timhoffm
Copy link
Member

CircleCI fails because it cannot load font-humor-sans. This is onrelated to the PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0