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

Skip to content

Commit 61fd0be

Browse files
committed
ENH: Figure.show() raises figure with qt backends
1 parent 8aa029f commit 61fd0be

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

lib/matplotlib/backends/backend_qt5.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -529,6 +529,8 @@ def resize(self, width, height):
529529

530530
def show(self):
531531
self.window.show()
532+
self.window.activateWindow()
533+
self.window.raise_()
532534

533535
def destroy(self, *args):
534536
# check for qApp first, as PySide deletes it in its atexit handler

0 commit comments

Comments
 (0)