Title: seaborn-colorblind style inconsistent with upstream seaborn colors. · Issue #20252 · matplotlib/matplotlib · GitHub
Open Graph Title: seaborn-colorblind style inconsistent with upstream seaborn colors. · Issue #20252 · matplotlib/matplotlib
X Title: seaborn-colorblind style inconsistent with upstream seaborn colors. · Issue #20252 · matplotlib/matplotlib
Description: Apparently plt.style.use('seaborn-colorblind') yields a different color cycle than the one documented in the seaborn docs. Especially the greenish color at the second place can be confusing as we're used to 1. blue 2. orange 3. green col...
Open Graph Description: Apparently plt.style.use('seaborn-colorblind') yields a different color cycle than the one documented in the seaborn docs. Especially the greenish color at the second place can be confusing as we'r...
X Description: Apparently plt.style.use('seaborn-colorblind') yields a different color cycle than the one documented in the seaborn docs. Especially the greenish color at the second place can be confusing...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/20252
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"seaborn-colorblind style inconsistent with upstream seaborn colors.","articleBody":"Apparently\r\n```python\r\nplt.style.use('seaborn-colorblind')\r\n```\r\nyields a different color cycle than the one documented in the [seaborn docs](https://seaborn.pydata.org/tutorial/color_palettes.html#qualitative-color-palettes).\r\nEspecially the greenish color at the second place can be confusing as we're used to 1. blue 2. orange 3. green colors and so on.\r\n\r\nI've translated the seaborn colors via\r\n```python\r\n[\r\n ''.join([f'{int(255 * h):02x}'.upper() for h in c])\r\n for c in sns.color_palette('colorblind')\r\n]\r\n\u003e ['0173B2', 'DE8F05', '029E73', 'D55E00', 'CC78BC', 'CA9161', 'FBAFE4', '949494', 'ECE133', '56B4E9']\r\n```\r\nI guess this should go into https://github.com/matplotlib/matplotlib/blob/master/lib/matplotlib/mpl-data/stylelib/seaborn-colorblind.mplstyle.","author":{"url":"https://github.com/bixel","@type":"Person","name":"bixel"},"datePublished":"2021-05-18T08:21:47.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/20252/matplotlib/issues/20252"}
| 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:ff8c2b95-08e8-d231-6797-34714bd90ad8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B9DE:23EDF1:31A5140:4687B5D:6A51235A |
| html-safe-nonce | ca931ce45159e8291e4ec5a7d788a72fc7a799ef0af10220b53dd35783d5ff57 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCOURFOjIzRURGMTozMUE1MTQwOjQ2ODdCNUQ6NkE1MTIzNUEiLCJ2aXNpdG9yX2lkIjoiNDI1NDAwMjQxMDgxNTU2MjU4NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | a32bcb34d42535a6b95fa37e3270e5ecbffa9e866a001d48c687a03c198ecdc9 |
| hovercard-subject-tag | issue:894113713 |
| 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/20252/issue_layout |
| twitter:image | https://opengraph.githubassets.com/8860de79e20ad30e4f26b5d2cbfd9926b4637ddaf0ddd35375d231c6b803484c/matplotlib/matplotlib/issues/20252 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/8860de79e20ad30e4f26b5d2cbfd9926b4637ddaf0ddd35375d231c6b803484c/matplotlib/matplotlib/issues/20252 |
| og:image:alt | Apparently plt.style.use('seaborn-colorblind') yields a different color cycle than the one documented in the seaborn docs. Especially the greenish color at the second place can be confusing as we'r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | bixel |
| hostname | github.com |
| expected-hostname | github.com |
| None | 689b683944b0d7f015d0e776452c970832fa81b82dc15284469b556ecced715b |
| 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 | 942b51ed3bd5feee3d5e2719f890a5fe286edbbb |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width