Extend python plots to full screen

浪子不回头ぞ 提交于 2019-12-02 01:03:27
Joost Boonzajer Flaes

I think the size is defined by matplotlib, this means that adjusting this would result in a fullscreen plot.

From this topic: How to maximize a plt.show() window using Python

mng = plt.get_current_fig_manager()
mng.frame.Maximize(True)

Something like this might work.

Ram
fig.set_size_inches(x_val,y_val)

helped me resize the plot to fit the screen

Use window.state option to get a zoomed version:

plt.get_current_fig_manager().window.state('zoomed')
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!