Does anyone happen to know how I may close a full-screen
matplotlib window? I spawned the figure using:
plt.ion() fig = plt.figure('Optimizer') plt.tight_layout() mng = plt.get_current_fig_manager() mng.full_screen_toggle()
plt.close("all") does not seem to do anything, and I couldn’t find many things online to try that are relevant to full-screen figures. Seems like the behavior of closing figures differs for full-screen plots?
I have to manually
kill -9 the entire script for it to close.
Running on a Raspberry Pi if that matters - Thanks in advance!