【问题标题】:Tkinter: maximize matplotlib GUI windowTkinter:最大化 matplotlib GUI 窗口
【发布时间】:2016-11-27 13:06:06
【问题描述】:

因此,matplotlib gui 图(a la plt.show())似乎不适应显示器分辨率,并且在高分辨率屏幕上显得很小。是否有 matplotlib/tkinter 修复或我在 Windows 设置中的某个地方摆弄?

谢谢

【问题讨论】:

    标签: python user-interface matplotlib tkinter


    【解决方案1】:

    plt.show() 调用这些函数之前:

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

    也许它可以解决您的问题。

    【讨论】:

      猜你喜欢
      • 2013-04-05
      • 2014-09-26
      • 1970-01-01
      • 1970-01-01
      • 2021-12-31
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多