Skip to content

Private helper to get requested backend without triggering resolution.#23263

Merged
timhoffm merged 1 commit intomatplotlib:mainfrom
anntzer:get_backend_or_none
Jun 13, 2022
Merged

Private helper to get requested backend without triggering resolution.#23263
timhoffm merged 1 commit intomatplotlib:mainfrom
anntzer:get_backend_or_none

Conversation

@anntzer
Copy link
Contributor

@anntzer anntzer commented Jun 13, 2022

... avoiding having to spell out the dict.__getitem__ dance, which is
really an implementation detail of rcParams.

PR Summary

PR Checklist

Tests and Styling

  • Has pytest style unit tests (and pytest passes).
  • Is Flake 8 compliant (install flake8-docstrings and run flake8 --docstring-convention=all).

Documentation

  • New features are documented, with examples if plot related.
  • New features have an entry in doc/users/next_whats_new/ (follow instructions in README.rst there).
  • API changes documented in doc/api/next_api_changes/ (follow instructions in README.rst there).
  • Documentation is sphinx and numpydoc compliant (the docs should build without error).

... avoiding having to spell out the `dict.__getitem__` dance, which is
really an implementation detail of rcParams.
@tacaswell tacaswell added this to the v3.6.0 milestone Jun 13, 2022
@timhoffm timhoffm merged commit fa20ba6 into matplotlib:main Jun 13, 2022
@anntzer anntzer deleted the get_backend_or_none branch June 13, 2022 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants