Title: Problems caused by changes to logic of scatter coloring in matplotlib 3.3.0.rc1 · Issue #17849 · matplotlib/matplotlib · GitHub
Open Graph Title: Problems caused by changes to logic of scatter coloring in matplotlib 3.3.0.rc1 · Issue #17849 · matplotlib/matplotlib
X Title: Problems caused by changes to logic of scatter coloring in matplotlib 3.3.0.rc1 · Issue #17849 · matplotlib/matplotlib
Description: Bug report Bug summary Not a bug as much as a change in behavior that causes downstream issues. #17543 changes the values set for the facecolors and edgecolors of "unfilled" marker in scatter. These changes break seaborn, which relies in...
Open Graph Description: Bug report Bug summary Not a bug as much as a change in behavior that causes downstream issues. #17543 changes the values set for the facecolors and edgecolors of "unfilled" marker in scatter. Thes...
X Description: Bug report Bug summary Not a bug as much as a change in behavior that causes downstream issues. #17543 changes the values set for the facecolors and edgecolors of "unfilled" marker in sca...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/17849
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Problems caused by changes to logic of scatter coloring in matplotlib 3.3.0.rc1","articleBody":"### Bug report\r\n\r\n**Bug summary**\r\n\r\nNot a bug as much as a change in behavior that causes downstream issues.\r\n\r\nhttps://github.com/matplotlib/matplotlib/pull/17543 changes the values set for the `facecolors` and `edgecolors` of \"unfilled\" marker in scatter.\r\n\r\nThese changes break seaborn, which relies in several places on `scatter` setting `facecolors` for both filled and unfilled markers.\r\n\r\nseaborn can work around the issue in a new release, but at the moment there is no user-facing workaround I can suggest, and the changes mean that all seaborn scatterplots with an unfilled marker will be blank.\r\n\r\n**Code for reproduction**\r\n\r\n```python\r\nimport matplotlib.pyplot as plt\r\nplt.scatter([0], [0], marker=\"+\").get_facecolors()\r\n```\r\n\r\n**Actual outcome**\r\n\r\nWith 3.3.0.rc1\r\n\r\n```python\r\narray([], shape=(0, 4), dtype=float64)\r\n```\r\n\r\n**Expected outcome**\r\n\r\nWith 3.2.2\r\n\r\n```python\r\narray([[0.12156863, 0.46666667, 0.70588235, 1. ]])\r\n```\r\n\r\nxref https://github.com/mwaskom/seaborn/issues/2159","author":{"url":"https://github.com/mwaskom","@type":"Person","name":"mwaskom"},"datePublished":"2020-07-06T20:50:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":11},"url":"https://github.com/17849/matplotlib/issues/17849"}
| 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:2aaedac9-5a24-1c53-2170-84678bd38098 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B302:195DA5:C46FC1:1087920:6A516864 |
| html-safe-nonce | d6e6615d24f019c19fdfdff336b595425242b646239fc8eca711ca25e52edf6c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCMzAyOjE5NURBNTpDNDZGQzE6MTA4NzkyMDo2QTUxNjg2NCIsInZpc2l0b3JfaWQiOiIzMTgxODQwMzQ0NTA2NTI1Nzk2IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | a2c7117146419cd2f6e6936a20d79a888fd88804a8cb644c9c96a6da83ce7bb3 |
| hovercard-subject-tag | issue:651810153 |
| 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/17849/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a16a81ad759694cfee9159fba37966696f6a4c1a196fd8e3ceb8ce3353da3c52/matplotlib/matplotlib/issues/17849 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a16a81ad759694cfee9159fba37966696f6a4c1a196fd8e3ceb8ce3353da3c52/matplotlib/matplotlib/issues/17849 |
| og:image:alt | Bug report Bug summary Not a bug as much as a change in behavior that causes downstream issues. #17543 changes the values set for the facecolors and edgecolors of "unfilled" marker in scatter. Thes... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mwaskom |
| 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 | 60eaaf6d4dbaa817031b556aebd8a0a7eeb81b97 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width