Title: [Bug]: macOS Tahoe (v26) MacOSX backend leaves "ghost" window · Issue #31106 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: macOS Tahoe (v26) MacOSX backend leaves "ghost" window · Issue #31106 · matplotlib/matplotlib
X Title: [Bug]: macOS Tahoe (v26) MacOSX backend leaves "ghost" window · Issue #31106 · matplotlib/matplotlib
Description: Bug summary On macOS 26 (Tahoe), using the native MacOSX backend in an interactive shell causes the window to persist in the system's window server after it has been closed. While the window content disappears, a blank "ghost" space rema...
Open Graph Description: Bug summary On macOS 26 (Tahoe), using the native MacOSX backend in an interactive shell causes the window to persist in the system's window server after it has been closed. While the window conten...
X Description: Bug summary On macOS 26 (Tahoe), using the native MacOSX backend in an interactive shell causes the window to persist in the system's window server after it has been closed. While the window co...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/31106
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: macOS Tahoe (v26) MacOSX backend leaves \"ghost\" window","articleBody":"### Bug summary\n\nOn macOS 26 (Tahoe), using the native MacOSX backend in an interactive shell causes the window to persist in the system's window server after it has been closed. While the window content disappears, a blank \"ghost\" space remains visible in Mission Control and is still detected/managed by tiling window managers (like Yabai).\n\nThe window only fully disappears once the Python process (the shell) is terminated.\n\nI have tested with older versions of matplotlib and Python and this began to happen on macOS 26. This does not happen on my linux machine. \n\n### Code for reproduction\n\n```Python\nimport matplotlib\nfrom matplotlib import pyplot\n\nmatplotlib.rcdefaults()\npyplot.plot()\npyplot.show()\n```\n\n### Actual outcome\n\nhttps://github.com/user-attachments/assets/857a130e-6101-4711-b4f5-59787ffefac6\n\n### Expected outcome\n\nThe window should disappear. \n\n### Additional information\n\n_No response_\n\n### Operating system\n\nMacOS 26.2\n\n### Matplotlib Version\n\n3.11.0.dev1745+geb7c4cebd\n\n### Matplotlib Backend\n\nMacOSX\n\n### Python version\n\n3.14.2\n\n### Jupyter version\n\n_No response_\n\n### Installation\n\npixi","author":{"url":"https://github.com/TheSkyentist","@type":"Person","name":"TheSkyentist"},"datePublished":"2026-02-06T11:14:09.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":13},"url":"https://github.com/31106/matplotlib/issues/31106"}
| 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:848c4a0b-950c-9e30-58e9-2e51c33bd21b |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9B2:2D523B:3D5AA6:520726:6A52F1E4 |
| html-safe-nonce | 5f2a4826d1e18ab18906866bd088910db3966f8b5ee6f429c99c0db3a7091bd3 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUIyOjJENTIzQjozRDVBQTY6NTIwNzI2OjZBNTJGMUU0IiwidmlzaXRvcl9pZCI6IjczNDg5NzM0MTkzMTk0NTYyMjgiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9a007897dd2d77b12f98f3f079824c56bfc519b24c297c8fe7f04eb2c5f6dfe2 |
| hovercard-subject-tag | issue:3906243944 |
| 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/31106/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a9eac540fa5e65ac5e52f1e789701163cbba58a8d832ed265f6722fd46a50fdf/matplotlib/matplotlib/issues/31106 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a9eac540fa5e65ac5e52f1e789701163cbba58a8d832ed265f6722fd46a50fdf/matplotlib/matplotlib/issues/31106 |
| og:image:alt | Bug summary On macOS 26 (Tahoe), using the native MacOSX backend in an interactive shell causes the window to persist in the system's window server after it has been closed. While the window conten... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | TheSkyentist |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width