Title: [Bug]: unstable `tkagg` small plot size window · Issue #28330 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: unstable `tkagg` small plot size window · Issue #28330 · matplotlib/matplotlib
X Title: [Bug]: unstable `tkagg` small plot size window · Issue #28330 · matplotlib/matplotlib
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 ...
Open Graph 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 ...
X 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 ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/28330
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: unstable `tkagg` small plot size window","articleBody":"### Bug summary\r\n\r\nHi, 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:\r\n\r\nhttps://github.com/matplotlib/matplotlib/assets/38867713/7106475d-f11c-4813-a456-99634aabe468\r\n\r\n### Code for reproduction\r\n\r\n```Python\r\n%matplotlib tk\r\nimport matplotlib.pyplot as plt\r\nplt.figure( figsize=(2,2))\r\nplt.plot(range(50))\r\nplt.show()\r\n```\r\n\r\n### Actual outcome\r\n\r\nThe plot size changes because of the (x,y) coordinates shown on the right bottom side.\r\n\r\n### Expected outcome\r\n\r\nThe plot size shouldn't change similar to `qtagg` backend.\r\n\r\n### Additional information\r\n\r\n_No response_\r\n\r\n### Operating system\r\n\r\nWindows 10 and 11\r\n\r\n### Matplotlib Version\r\n\r\n3.9.0\r\n\r\n### Matplotlib Backend\r\n\r\ntkagg\r\n\r\n### Python version\r\n\r\n3.10.11\r\n\r\n### Jupyter version\r\n\r\niPython 8.24.0\r\n\r\n### Installation\r\n\r\npip","author":{"url":"https://github.com/mrrezaie","@type":"Person","name":"mrrezaie"},"datePublished":"2024-06-03T08:06:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":14},"url":"https://github.com/28330/matplotlib/issues/28330"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:b2a43098-b112-6dc4-4fad-cd9731baf050 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8708:277986:17DBAE:1FFF9B:6A5253EE |
| html-safe-nonce | 004f27e115a397e7b1438b43821cd781ec1c9760753c2bcc109e799893365c7d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NzA4OjI3Nzk4NjoxN0RCQUU6MUZGRjlCOjZBNTI1M0VFIiwidmlzaXRvcl9pZCI6IjE5MDgxNDI0OTEyMjU0NDUzNTgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bf47a0bce6daac5686e4e7a578a7e8655b94104b091c9de9b25cdcfc310871e7 |
| hovercard-subject-tag | issue:2330457432 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/matplotlib/matplotlib/28330/issue_layout |
| twitter:image | https://opengraph.githubassets.com/fa961c4caec7bdb03575fd08ee6d618a5601f0bc5809fda7283a2aaf876f4409/matplotlib/matplotlib/issues/28330 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/fa961c4caec7bdb03575fd08ee6d618a5601f0bc5809fda7283a2aaf876f4409/matplotlib/matplotlib/issues/28330 |
| og:image:alt | 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 ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mrrezaie |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width