Issue
Let's say I have the following chunk of code:
import matplotlib.pyplot as plt
manager = plt.get_current_fig_manager()
manager.full_screen_toggle()
plt.show()
The screen is set to be in fullscreen mode. My issue is that the taskbar is being hidden. How do I adjust the fullscreen mode so that it doesn't hide my taskbar?
Solution
I usually use
mng = plt.get_current_fig_manager()
mng.frame.Maximize(True)
before the call to plt.show()
, and I get a maximized window. This works for the 'wx' backend only.
Or try this,
wm = plt.get_current_fig_manager()
wm.window.state('zoomed')
Answered By - L Prathyusha
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.