-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Closed
Labels
Milestone
Description
Bug summary
The figure.raise_window rcParam does not work on MacOSX backend.
Related:
- Add "bring window to front" functionality #596
- Use rcParams to control default "raise window" behavior #8692
- Use rcParams to control default "raise window" behavior (Qt,Gtk,Tk,Wx) #15440
- https://stackoverflow.com/questions/44278369/how-to-keep-matplotlib-python-window-in-background
- https://stackoverflow.com/questions/45729092/make-interactive-matplotlib-window-not-pop-to-front-on-each-update-windows-7/45734500
Code for reproduction
from matplotlib import pyplot as plt
from matplotlib import rcParams
rcParams['figure.raise_window'] = False
while True:
plt.plot()
plt.pause(.0001)Actual outcome
Window is raised on every call to pause.
Expected outcome
Window should not be raised.
Additional information
No response
Operating system
macOS
Matplotlib Version
3.5.1
Matplotlib Backend
MacOSX
Python version
Python 3.10.2
Jupyter version
No response
Installation
pip