10000 Merge pull request #21537 from anntzer/wxappfalse · matplotlib/matplotlib@c316142 · GitHub
[go: up one dir, main page]

Skip to content

Commit c316142

Browse files
authored
Merge pull request #21537 from anntzer/wxappfalse
Remove unnecessary False arg when constructing wx.App.
2 parents f96eb63 + 69f61e2 commit c316142

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/backends/backend_wx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1400,7 +1400,7 @@ def new_figure_manager(cls, num, *args, **kwargs):
14001400
# Create a wx.App instance if it has not been created so far.
14011401
wxapp = wx.GetApp()
14021402
if wxapp is None:
1403-
wxapp = wx.App(False)
1403+
wxapp = wx.App()
14041404
wxapp.SetExitOnFrameDelete(True)
14051405
cbook._setup_new_guiapp()
14061406
# Retain a reference to the app object so that it does not get

0 commit comments

Comments
 (0)
0