Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

blocking_input: Fix "manager" attr check #9759

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
Nov 13, 2017
Merged

blocking_input: Fix "manager" attr check #9759

merged 1 commit into from
Nov 13, 2017

Conversation

kevinji
Copy link
Contributor

@kevinji kevinji commented Nov 12, 2017

PR Summary

Fixes #9758, so now plt.ginput will properly show the plot again. This copies the check from

try:
manager = getattr(self.canvas, 'manager')
except AttributeError as err:
raise AttributeError("%s\n"
"Figure.show works only "
"for figures managed by pyplot, normally "
"created by pyplot.figure()." % err)

@anntzer anntzer added the Release critical For bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions. label Nov 12, 2017
@anntzer anntzer added this to the v2.1.1 milestone Nov 12, 2017
@efiring efiring merged commit 0827434 into matplotlib:master Nov 13, 2017
@efiring
Copy link
Member

efiring commented Nov 13, 2017

Thank you, @mc10, for your first mpl contribution!

@kevinji kevinji deleted the patch-1 branch November 13, 2017 06:14
dstansby added a commit that referenced this pull request Nov 13, 2017
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
Morty Proxy This is a proxified and sanitized view of the page, visit original site.