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

Skip to content

Commit 5904e2f

Browse files
committed
Merge pull request #5553 from efiring/qtontop
qt: raise each new window
2 parents c6dda2d + 9a0afe3 commit 5904e2f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/matplotlib/backends/backend_qt5.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -490,6 +490,7 @@ def notify_axes_change(fig):
490490
if self.toolbar is not None:
491491
self.toolbar.update()
492492
self.canvas.figure.add_axobserver(notify_axes_change)
493+
self.window.raise_()
493494

494495
@QtCore.Slot()
495496
def _show_message(self, s):

0 commit comments

Comments
 (0)