Open
Description
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