Title: [Bug]: Qt5 backend icons should be white when macOS in dark mode · Issue #27590 · matplotlib/matplotlib · GitHub
Open Graph Title: [Bug]: Qt5 backend icons should be white when macOS in dark mode · Issue #27590 · matplotlib/matplotlib
X Title: [Bug]: Qt5 backend icons should be white when macOS in dark mode · Issue #27590 · matplotlib/matplotlib
Description: Bug summary In dark mode on macOS, the window background on the Qt5 backend is correctly changed to black, but the icons are still black when they should be white: Code for reproduction import matplotlib matplotlib.use("Qt5Agg") import m...
Open Graph Description: Bug summary In dark mode on macOS, the window background on the Qt5 backend is correctly changed to black, but the icons are still black when they should be white: Code for reproduction import matp...
X Description: Bug summary In dark mode on macOS, the window background on the Qt5 backend is correctly changed to black, but the icons are still black when they should be white: Code for reproduction import matp...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/27590
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Bug]: Qt5 backend icons should be white when macOS in dark mode","articleBody":"### Bug summary\r\n\r\nIn dark mode on macOS, the window background on the Qt5 backend is correctly changed to black, but the icons are still black when they should be white:\r\n\u003cimg width=\"647\" alt=\"Screenshot 2024-01-01 at 19 04 53\" src=\"https://github.com/matplotlib/matplotlib/assets/6197628/377a75f6-8be6-4728-b8a4-ded9345debb0\"\u003e\r\n\r\n\r\n### Code for reproduction\r\n\r\n```python\r\nimport matplotlib\r\nmatplotlib.use(\"Qt5Agg\")\r\n\r\nimport matplotlib.pyplot as plt\r\nplt.figure()\r\nplt.show()\r\n```\r\n\r\n\r\n### Actual outcome\r\n\r\nBlack icons\r\n\r\n### Expected outcome\r\n\r\nWhite icons\r\n\r\n### Additional information\r\n\r\n_No response_\r\n\r\n### Operating system\r\n\r\n_No response_\r\n\r\n### Matplotlib Version\r\n\r\n3.9.0.dev905+gb4fc72bb88\r\n\r\n### Matplotlib Backend\r\n\r\nQt5Agg\r\n\r\n### Python version\r\n\r\n3.11.6\r\n\r\n### Jupyter version\r\n\r\n_No response_\r\n\r\n### Installation\r\n\r\ngit checkout","author":{"url":"https://github.com/dstansby","@type":"Person","name":"dstansby"},"datePublished":"2024-01-01T19:06:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/27590/matplotlib/issues/27590"}
| 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:da8920df-95a5-0150-3c5f-bdc3bf658565 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A222:BE119:4FBA3F:69E106:6A529875 |
| html-safe-nonce | a5c29a86c11b2e7dec6586ea6ebbeaf4641b33a18fbab575968ac7061aa342af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMjIyOkJFMTE5OjRGQkEzRjo2OUUxMDY6NkE1Mjk4NzUiLCJ2aXNpdG9yX2lkIjoiODIyMDQwMTgwMDk3ODc5ODcwOSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 83afa81aa6afa66c3934fea1704e6b4fec26a305bfea4ccf6de389f068e0a566 |
| hovercard-subject-tag | issue:2061722096 |
| 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/27590/issue_layout |
| twitter:image | https://opengraph.githubassets.com/f064ea179194b20e43cfc69107f32578825d621b63b92d0f70fcdf6325edb218/matplotlib/matplotlib/issues/27590 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/f064ea179194b20e43cfc69107f32578825d621b63b92d0f70fcdf6325edb218/matplotlib/matplotlib/issues/27590 |
| og:image:alt | Bug summary In dark mode on macOS, the window background on the Qt5 backend is correctly changed to black, but the icons are still black when they should be white: Code for reproduction import matp... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dstansby |
| 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