8000 BUG: Qt5Agg window size regression · Issue #15611 · matplotlib/matplotlib · GitHub
[go: up one dir, main page]

Skip to content
BUG: Qt5Agg window size regression #15611
Closed
@larsoner

Description

@larsoner

Bug report

Bug summary

figsize no longer works properly on Qt5Agg backend. By git bisect it worked on c19ebd6 but not e6367c9. It looks like this might have been a direct push and not a PR (?).

Doing git revert e6367c9c40419249e55d80a2806d17fd11137f2b on master fixes the problem.

Code for reproduction

import matplotlib.pyplot as plt
fig = plt.figure(figsize=(5, 20))

Actual outcome

Window is not the full vertical height of my screen:

Screenshot from 2019-11-06 10-32-24

Expected outcome

Taller window:

Screenshot from 2019-11-06 10-51-40

Matplotlib version

  • Operating system: Ubuntu x86_64
  • Matplotlib version: master back to e6367c9
  • Matplotlib backend (print(matplotlib.get_backend())): Qt5Agg
  • Python version: 3.8.0
  • Other libraries: PyQt5 5.13.2

Everything installed from pip (other than matplotlib, which I build locally).

< 50A3 /div>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Release criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0