Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

tk window immediately resizes down to zero-height upon showing up. #16926

Copy link
Copy link
Closed
@anntzer

Description

@anntzer
Issue body actions

Bug report

Bug summary

tk window (whether tkagg or mplcairo.tk) immediately resizes down to zero-height upon showing up.

Code for reproduction

$ MPLBACKEND=tkagg python -c "from pylab import *; plot(); show()"

Actual outcome

As described above.

Expected outcome

Window stays at original size.

Matplotlib version

  • Operating system: arch linux
  • Matplotlib version: master
  • Matplotlib backend (print(matplotlib.get_backend())): tkany
  • Python version: 38
  • Jupyter version (if applicable):
  • Other libraries:

This bisects to #16828 (attn @QuLogic), even though it's not clear how that's related... perhaps the dynamic changes to figure dpi confuse tk, but it's not clear why this is different from before?

Metadata

Metadata

Assignees

No one assigned

    Labels

    GUI: tkRelease criticalFor bugs that make the library unusable (segfaults, incorrect plots, etc) and major regressions.For 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

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.