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

[Bug]: unstable tkagg small plot size window #28330

Copy link
Copy link
Open
@mrrezaie

Description

@mrrezaie
Issue body actions

Bug summary

Hi, if I reduce the plot size and use tkagg backend, the size of the plot window becomes unstable, and it changes by moving mouse (when the coordinates are shown); please see the below video:

2024-06-03-11-31-30.mp4

Code for reproduction

%matplotlib tk
import matplotlib.pyplot as plt
plt.figure( figsize=(2,2))
plt.plot(range(50))
plt.show()

Actual outcome

The plot size changes because of the (x,y) coordinates shown on the right bottom side.

Expected outcome

The plot size shouldn't change similar to qtagg backend.

Additional information

No response

Operating system

Windows 10 and 11

Matplotlib Version

3.9.0

Matplotlib Backend

tkagg

Python version

3.10.11

Jupyter version

iPython 8.24.0

Installation

pip

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    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.