Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitf237a74

Browse files
efiringmdboom
authored andcommitted
Merge pull request#2316 from vbr/patch-6
Replace the obsolete wx.PySimpleApp
1 parent388f8fd commitf237a74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎lib/matplotlib/backends/backend_wx.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1240,11 +1240,11 @@ def _onEnter(self, evt):
12401240

12411241
def_create_wx_app():
12421242
"""
1243-
Creates a wx.PySimpleApp instance ifa wx.Apphas not been created.
1243+
Creates a wx.App instance ifithas not been created sofar.
12441244
"""
12451245
wxapp=wx.GetApp()
12461246
ifwxappisNone:
1247-
wxapp=wx.PySimpleApp()
1247+
wxapp=wx.App(False)
12481248
wxapp.SetExitOnFrameDelete(True)
12491249
# retain a reference to the app object so it does not get garbage
12501250
# collected and cause segmentation faults

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp