Title: Feature request: Named cyclers · Issue #10840 · matplotlib/matplotlib · GitHub
Open Graph Title: Feature request: Named cyclers · Issue #10840 · matplotlib/matplotlib
X Title: Feature request: Named cyclers · Issue #10840 · matplotlib/matplotlib
Description: Feature Request / Discussion Summary Like we have named colormaps, it would be useful to have named cyclers as well. This would allow code like or even by name: Is it useful? I think there's a need to efficiently switch cyclers depending...
Open Graph Description: Feature Request / Discussion Summary Like we have named colormaps, it would be useful to have named cyclers as well. This would allow code like or even by name: Is it useful? I think there's a need...
X Description: Feature Request / Discussion Summary Like we have named colormaps, it would be useful to have named cyclers as well. This would allow code like or even by name: Is it useful? I think there's a ...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/10840
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Feature request: Named cyclers","articleBody":"### Feature Request / Discussion\r\n\r\n**Summary**\r\n\r\nLike we have named colormaps, it would be useful to have named cyclers as well.\r\n\r\nThis would allow code like\r\n\r\n\r\n\r\nor even by name:\r\n\r\n\r\n\r\n**Is it useful?**\r\n\r\n- I think there's a need to efficiently switch cyclers depending on the plot.\r\n- Also, as part of this, we can provide a number of default cyclers.\r\n- Styles are already available, however I have the feeling that they are too broad as I often adapt just the colors and defining a new style for each color scheme seems a bit heavy-weight.\r\n- Apart from the places where a cycler is explicitly used, this could also be used for other methods with a colors argument, e.g. `plt.pie(data, colors='desert')`.\r\n\r\n**What would be needed?**\r\n\r\nSimilar to colormaps:\r\n\r\n- `register_cycler()`\r\n- `get_cycler()`\r\n- a number of default cyclers.\r\n- Maybe the upstream `Cycler` class should get a `name` property.","author":{"url":"https://github.com/timhoffm","@type":"Person","name":"timhoffm"},"datePublished":"2018-03-19T16:07:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":29},"url":"https://github.com/10840/matplotlib/issues/10840"}
| 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:091ab08e-1bf3-1c67-8180-2a3fae9fda44 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A114:8E3D:142A3C7:1A95EAA:6A52ABF4 |
| html-safe-nonce | c364186579261a3c44b46bb5ff2b41ca3dd50cc4123a1a923f27425205d80ede |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBMTE0OjhFM0Q6MTQyQTNDNzoxQTk1RUFBOjZBNTJBQkY0IiwidmlzaXRvcl9pZCI6Ijg5ODA0ODE2MzA3NzU5Nzg5OTYiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9cb1b69aacff20ef54d46ec3b2a1765115d42e9beb61163efc512b269f2caa26 |
| hovercard-subject-tag | issue:306527864 |
| 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/10840/issue_layout |
| twitter:image | https://opengraph.githubassets.com/90807dd4578a65207b562009d4cbeab7b658e21926941748d0e3ed445f240654/matplotlib/matplotlib/issues/10840 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/90807dd4578a65207b562009d4cbeab7b658e21926941748d0e3ed445f240654/matplotlib/matplotlib/issues/10840 |
| og:image:alt | Feature Request / Discussion Summary Like we have named colormaps, it would be useful to have named cyclers as well. This would allow code like or even by name: Is it useful? I think there's a need... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timhoffm |
| 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