Title: Add the 6 color and 8 color sequence for the Petroff color cycles · Issue #30060 · matplotlib/matplotlib · GitHub
Open Graph Title: Add the 6 color and 8 color sequence for the Petroff color cycles · Issue #30060 · matplotlib/matplotlib
X Title: Add the 6 color and 8 color sequence for the Petroff color cycles · Issue #30060 · matplotlib/matplotlib
Description: The 6 color sequence by Petroff is not just a truncated 10 color sequence. It has distinct colors. You can read thrombus here and make a custom color sequence https://arxiv.org/abs/2107.02270. Originally posted by @timhoffm in #27851 (co...
Open Graph Description: The 6 color sequence by Petroff is not just a truncated 10 color sequence. It has distinct colors. You can read thrombus here and make a custom color sequence https://arxiv.org/abs/2107.02270. Orig...
X Description: The 6 color sequence by Petroff is not just a truncated 10 color sequence. It has distinct colors. You can read thrombus here and make a custom color sequence https://arxiv.org/abs/2107.02270. Orig...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/30060
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Add the 6 color and 8 color sequence for the Petroff color cycles","articleBody":"\u003e The 6 color sequence by Petroff is not just a truncated 10 color sequence. It has distinct colors. You can read thrombus here and make a custom color sequence https://arxiv.org/abs/2107.02270.\n\n_Originally posted by @timhoffm in https://github.com/matplotlib/matplotlib/issues/27851#issuecomment-2888117779_\n\n@timhoffm That was my memory (and if I had dug back further into Issue https://github.com/matplotlib/matplotlib/issues/9460 I would have seen https://github.com/matplotlib/matplotlib/issues/9460#issuecomment-875185352 and it would be obvious, so thanks for the reminder on that), but it seemed weird given the discussions we had with @tacaswell on https://github.com/mpetroff/accessible-color-cycles/issues/1 that we didn't add the 6 and 8 color sequence at the same time in PR https://github.com/matplotlib/matplotlib/pull/27851 so I thought I might be mistaken.\n\n\u003cdetails\u003e\n\n\u003csummary\u003eThe colors for the 6, 8, and 10 sequences:\u003c/summary\u003e\n\nReplicating @mpetroff's https://github.com/matplotlib/matplotlib/issues/9460#issuecomment-875185352 here for easier access:\n\n\u003e I finally finished the manuscript and have the [pre-print posted](https://arxiv.org/abs/2107.02270) (and [the analysis code](https://github.com/mpetroff/accessible-color-cycles)). The final results are:\n\u003e \n\u003e Six color: `#5790fc`, `#f89c20`, `#e42536`, `#964a8b`, `#9c9ca1`, `#7a21dd`\n\u003e \n\u003e ```\n\u003e [\"#5790fc\", \"#f89c20\", \"#e42536\", \"#964a8b\", \"#9c9ca1\", \"#7a21dd\"]\n\u003e ```\n\u003e \n\u003e Eight color: `#1845fb`, `#ff5e02`, `#c91f16`, `#c849a9`, `#adad7d`, `#86c8dd`, `#578dff`, `#656364`\n\u003e\n\u003e ``` \n\u003e [\"#1845fb\", \"#ff5e02\", \"#c91f16\", \"#c849a9\", \"#adad7d\", \"#86c8dd\", \"#578dff\", \"#656364\"]\n\u003e ```\n\u003e\n\u003e Ten color: `#3f90da`, `#ffa90e`, `#bd1f01`, `#94a4a2`, `#832db6`, `#a96b59`, `#e76300`, `#b9ac70`, `#717581`, `#92dadd`\n\u003e\n\u003e ``` \n\u003e [\"#3f90da\", \"#ffa90e\", \"#bd1f01\", \"#94a4a2\", \"#832db6\", \"#a96b59\", \"#e76300\", \"#b9ac70\", \"#717581\", \"#92dadd\"]\n\u003e ```\n\n\n\u003c/details\u003e\n\n\u003e make a custom color sequence\n\nIs there a reason to not support the 6 and 8 sequence as well? I assume not, given that [the style sheets](https://matplotlib.org/stable/gallery/style_sheets/style_sheets_reference.html) have 8 color styles. Would a PR be of interest here?","author":{"url":"https://github.com/matthewfeickert","@type":"Person","name":"matthewfeickert"},"datePublished":"2025-05-17T06:54:35.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/30060/matplotlib/issues/30060"}
| 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:4a603b37-17a6-3377-bc75-1627ce55e8ec |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B814:24F4D4:19B9E:20D8D:6A521731 |
| html-safe-nonce | 21ba6a489d283ae0bbeed222a27c030a10283f84c88110d7295d2bda0dd0406d |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCODE0OjI0RjRENDoxOUI5RToyMEQ4RDo2QTUyMTczMSIsInZpc2l0b3JfaWQiOiIyNDc3MTEwNjM3NTk1MjU2ODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 14596fafaf5e283f8ead83fcb8f732477386f6e4d177ba11fbb77558f9074474 |
| hovercard-subject-tag | issue:3070466941 |
| 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/30060/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1f42b2dc38348620c8a292f8515988c3e779585ced3c3b96ce0ed5ddec60c783/matplotlib/matplotlib/issues/30060 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1f42b2dc38348620c8a292f8515988c3e779585ced3c3b96ce0ed5ddec60c783/matplotlib/matplotlib/issues/30060 |
| og:image:alt | The 6 color sequence by Petroff is not just a truncated 10 color sequence. It has distinct colors. You can read thrombus here and make a custom color sequence https://arxiv.org/abs/2107.02270. Orig... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | matthewfeickert |
| 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