Skip to content

Conversation

anntzer
Copy link
Contributor

@anntzer anntzer commented Sep 7, 2016

See discussion starting at #6816 (comment).

Minimal example:

from matplotlib import pyplot as plt
plt.gcf().canvas.mpl_connect("draw_event", lambda event: 1/0)
plt.show()

@WeatherGod
Copy link
Member

Looks good to me. The Appveyor failure does seem un-related, but possibly not transient?

Should this get cherry-picked to 1.5.x as well as 2.x?

@anntzer
Copy link
Contributor Author

anntzer commented Sep 7, 2016

I'd suggest doing so.

@jenshnielsen
Copy link
Member

There is no 1.5.x branch to cherry-pick onto at the moment.

@tacaswell
Copy link
Member

I have a running list of things to backport. We probably should give up an re-create the 1.5.x branch :/

@tacaswell tacaswell merged commit 42b40b8 into matplotlib:master Sep 7, 2016
tacaswell added a commit that referenced this pull request Sep 7, 2016
…events-abort

FIX: Uncaught exns are fatal for PyQt5, so catch them.
@tacaswell
Copy link
Member

backported to v2.x as c5cdc1a

@anntzer anntzer deleted the catch-exceptions-in-qt5-draw-prevents-abort branch September 7, 2016 17:32
@QuLogic QuLogic added this to the 2.0 (style change major release) milestone Sep 8, 2016
tacaswell added a commit that referenced this pull request Sep 8, 2016
…events-abort

FIX: Uncaught exns are fatal for PyQt5, so catch them.
@tacaswell
Copy link
Member

backported to v1.5.x as 81d5a24

@QuLogic QuLogic modified the milestones: v1.5.x, 2.0 (style change major release) Sep 9, 2016
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.

6 participants