X Tutup
Skip to content

Qt window does not give accurate maximum size #6661

@ekipmanager

Description

@ekipmanager

Just updated to Matplotlib 1.5.1 and had to change my code to resize window, using

fig_manager = plt.get_current_fig_manager()
fig_manager.window.resize(16777215, 16777215) 

with big numbers crashes the kernel. I got the numbers using fig_manager.window.maximumHeight() (same for width) even with slightly smaller numbers doesn't work. It tries to maximize and then crashes.

  • Matplotlib 1.5.1, Python 2.7.11, Linux Fedora 23
  • I pip installed matplotlib

Metadata

Metadata

Assignees

No one assigned

    Labels

    Difficulty: Easyhttps://matplotlib.org/devdocs/devel/contribute.html#good-first-issuesGUI: Qtstatus: inactiveMarked by the “Stale” Github Action

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      X Tutup