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

Skip to content

Commit 96097ad

Browse files
author
Federico Ariza
committed
raise window gtk
1 parent bd77200 commit 96097ad

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/matplotlib/backends/backend_gtk.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -613,6 +613,8 @@ def destroy(self, *args):
613613
def show(self):
614614
# show the figure window
615615
self.window.show()
616+
self.window.set_keep_above(True)
617+
self.window.set_keep_above(False)
616618

617619
def full_screen_toggle(self):
618620
self._full_screen_flag = not self._full_screen_flag

0 commit comments

Comments
 (0)