Skip to content

Remove some deprecated rcParams. #10028

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
Dec 23, 2017

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Dec 16, 2017

  • axes.color_cycle was deprecated in 1.5 (68f0afb).
  • legend.isaxes was deprecated in 2.0 (64accfd).
  • svg.embed_char_paths was deprecated in 1.3.1 (6d660ce).
  • svg.image_noscale was deprecated in 2.1 (4a05302) but note that the
    deprecation was broken to start with as it used None as converter (so
    trying to set rcParams["svg.image_noscale"] currently raises
    'NoneType' object is not callable).
  • text.* and tick.size were deprecated before 1.3.1 (e34a333).

PR Summary

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

@anntzer anntzer force-pushed the remove-deprecated-rcparams branch from 981d8cd to 12a2224 Compare December 17, 2017 07:30
SETTINGS = {'axes.color_cycle': 'ffffff'}
basename = 'color_cycle'
SETTINGS = {'foo': 'bar'}
basename = 'basename'
Copy link
Member

Choose a reason for hiding this comment

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

Can't this test go now?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Renamed as "test_invalid_rc_warning_includes_filename", which seems still a valid test.

- axes.color_cycle was deprecated in 1.5 (68f0afb).
- legend.isaxes was deprecated in 2.0 (64accfd).
- svg.embed_char_paths was deprecated in 1.3.1 (6d660ce).
- svg.image_noscale was deprecated in 2.1 (4a05302) but note that the
  deprecation was broken to start with as it used None as converter (so
  trying to set `rcParams["svg.image_noscale"]` currently raises
  `'NoneType' object is not callable`.
- text.* and tick.size were deprecated before 1.3.1 (e34a333).
@anntzer anntzer force-pushed the remove-deprecated-rcparams branch from 12a2224 to 18b5c87 Compare December 18, 2017 16:11
Copy link
Member

@jklymak jklymak left a comment

Choose a reason for hiding this comment

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

LGTM

@dstansby dstansby added this to the v2.2 milestone Dec 23, 2017
@dstansby dstansby merged commit 6e7afec into matplotlib:master Dec 23, 2017
@anntzer anntzer deleted the remove-deprecated-rcparams branch December 23, 2017 19:00
@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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants