Title: [ENH]: set default color cycle to named color sequence · Issue #29799 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: set default color cycle to named color sequence · Issue #29799 · matplotlib/matplotlib
X Title: [ENH]: set default color cycle to named color sequence · Issue #29799 · matplotlib/matplotlib
Description: Problem It would be great if I could put something like this in my matplotlibrc to use the petroff10 color sequence by default: axes.prop_cycle : cycler('color', 'petroff10') Proposed solution Currently if a single string is supplied we ...
Open Graph Description: Problem It would be great if I could put something like this in my matplotlibrc to use the petroff10 color sequence by default: axes.prop_cycle : cycler('color', 'petroff10') Proposed solution Curr...
X Description: Problem It would be great if I could put something like this in my matplotlibrc to use the petroff10 color sequence by default: axes.prop_cycle : cycler('color', 'petroff10') Propos...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29799
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: set default color cycle to named color sequence","articleBody":"### Problem\n\nIt would be great if I could put something like this in my matplotlibrc to use the petroff10 color sequence by default:\n```\naxes.prop_cycle : cycler('color', 'petroff10')\n```\n\n### Proposed solution\n\nCurrently if a single string is supplied we try to interpret as a list of single character colors\nhttps://github.com/matplotlib/matplotlib/blob/a9dc9acc2dd1bab761b45e48c8d63aa108811a82/lib/matplotlib/rcsetup.py#L105-L108\n\nNone of the current built in color sequences can be interpreted that way, so it would not be ambiguous to try both that and querying the color sequence registry. However, maybe we would need something to guard against user- or third-party-defined color sequences having a name like \"rygbk\"?","author":{"url":"https://github.com/rcomer","@type":"Person","name":"rcomer"},"datePublished":"2025-03-24T16:57:39.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/29799/matplotlib/issues/29799"}
| 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:7ea0fe3f-377f-29fe-51c5-4bf40b6f2947 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E8D4:1C4081:574612:7476F1:6A529BC3 |
| html-safe-nonce | 0c4d529638c27e771ff57fc4fd301d5d9281e225965b05287bcf97ad62307b72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOEQ0OjFDNDA4MTo1NzQ2MTI6NzQ3NkYxOjZBNTI5QkMzIiwidmlzaXRvcl9pZCI6IjU3MDcwMDM1OTA5NDc4MDYxNDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | a67667898d06540514c41cefb0fee1c078d7cc5de153c2061ef35ea18753b60a |
| hovercard-subject-tag | issue:2943888960 |
| 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/29799/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a39696c5fd4850ddc2cd07939cf7de65d74dd4d66355b7c8163ce7af29c777a/matplotlib/matplotlib/issues/29799 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a39696c5fd4850ddc2cd07939cf7de65d74dd4d66355b7c8163ce7af29c777a/matplotlib/matplotlib/issues/29799 |
| og:image:alt | Problem It would be great if I could put something like this in my matplotlibrc to use the petroff10 color sequence by default: axes.prop_cycle : cycler('color', 'petroff10') Proposed solution Curr... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | rcomer |
| 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