We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 388f8fd commit f237a74Copy full SHA for f237a74
lib/matplotlib/backends/backend_wx.py
@@ -1240,11 +1240,11 @@ def _onEnter(self, evt):
1240
1241
def _create_wx_app():
1242
"""
1243
- Creates a wx.PySimpleApp instance if a wx.App has not been created.
+ Creates a wx.App instance if it has not been created sofar.
1244
1245
wxapp = wx.GetApp()
1246
if wxapp is None:
1247
- wxapp = wx.PySimpleApp()
+ wxapp = wx.App(False)
1248
wxapp.SetExitOnFrameDelete(True)
1249
# retain a reference to the app object so it does not get garbage
1250
# collected and cause segmentation faults
0 commit comments