Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 1d7afe0

Browse files
committed
Add fullscreen toggle support to WxAgg backend
1 parent c30f762 commit 1d7afe0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/matplotlib/backends/backend_wx.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1063,6 +1063,10 @@ def destroy(self, *args):
10631063
if wxapp:
10641064
wxapp.Yield()
10651065

1066+
def full_screen_toggle(self):
1067+
# docstring inherited
1068+
self.frame.ShowFullScreen(not self.frame.IsFullScreen())
1069+
10661070
def get_window_title(self):
10671071
# docstring inherited
10681072
return self.window.GetTitle()

0 commit comments

Comments
 (0)