Closed as not planned
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 on the plot.
- Also, as part of this, we can provide a number of default cyclers.
- 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.
- 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')
.
What would be needed?
Similar to colormaps:
register_cycler()
get_cycler()
- a number of default cyclers.
- Maybe the upstream
Cycler
class should get aname
property.