Commit e6367c9
committed
Don't bother with manually resizing the Qt main window.
The presence of FigureCanvasQT.sizeHint is sufficient to get a correct
figure size; Qt properly determines the entire window size based on
that.
This behavior is already tested by test_backend_qt::test_dpi_ratio_change,
and one can also manually check that the patch does not change physical
window sizes when creating figures of various figsize=(?).1 parent c19ebd6 commit e6367c9
1 file changed
Lines changed: 0 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
571 | 571 | | |
572 | 572 | | |
573 | 573 | | |
574 | | - | |
575 | | - | |
576 | | - | |
577 | | - | |
578 | | - | |
579 | | - | |
580 | | - | |
581 | | - | |
582 | | - | |
583 | | - | |
584 | 574 | | |
585 | 575 | | |
586 | 576 | | |
| |||
0 commit comments