added QtGui.QMainWindow.closeEvent() to make sure the close event#1678
added QtGui.QMainWindow.closeEvent() to make sure the close event#1678dmcdougall merged 2 commits intomatplotlib:masterfrom
Conversation
|
Hmmm. On master my test_bbox_inches tests pass, but with your patch one of them fails. This is locally. Strange. Edit: And it's the same diff as we remarked here |
cascades up properly. issue matplotlib#1676
There was a problem hiding this comment.
For PEP8 compliancy, can you add a space after the comma?
There was a problem hiding this comment.
Sorry about that. That habit has not fully taken yet.
|
re-based to master (to avoid On master, I get failures on test_arraw_ptachs.test_fancyarrow.test (1 error, 2 failures) which looks like issues with size of the output images. I get the exact same failures with this patch. |
|
@tacaswell Yes, I have reported the issue in #1681, and it's nothing to do with this patch. I'll merge this now. Thanks. |
added QtGui.QMainWindow.closeEvent() to make sure the close event
added QtGui.QMainWindow.closeEvent() to make sure the close event
cascades closeEvents up properly.
issue #1676
I am not sure if there is a testable issue that shows up with out this patch, but this my understanding of good practice when over-riding functions in sub-classed QT classes.
I will look for any issues that show up without this.