Skip to content

Conversation

@anntzer
Copy link
Contributor

@anntzer anntzer commented May 25, 2018

Currently, the warning message "Matplotlib is currently using ..., which
is a non-GUI backend, so cannot show the figure" and the (minor)
associated logic (of catching NonGuiException) is duplicated between
Figure.show and _Backend.show. Make the latter use the former, to
deduplicate it.

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 added this to the v3.0 milestone May 25, 2018
Currently, the warning message "Matplotlib is currently using ..., which
is a non-GUI backend, so cannot show the figure" and the (minor)
associated logic (of catching NonGuiException) is duplicated between
Figure.show and _Backend.show.  Make the latter use the former, to
deduplicate it.
@anntzer anntzer force-pushed the duplicate-warning branch from e85e53c to 6cf8450 Compare May 25, 2018 06:01
@anntzer anntzer mentioned this pull request May 25, 2018
6 tasks
@timhoffm timhoffm merged commit 6eae56b into matplotlib:master May 25, 2018
@anntzer anntzer deleted the duplicate-warning branch May 29, 2018 08:36
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