Pseudo-infinite cycle

Open
#30 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python

Research direction

The issue names no files, tests, or entry points. First locate the existing cycle API and its tests, then determine how a pseudo-infinite cycle should represent initial colors followed by reuse of the final color. Done means the behavior is defined, implemented, and covered for multiple curves.

Written by the indexing model from the issue text.

Description

It could be useful to have the possibility to define a pseudo-infinite cycle which gives some first colors and then use the last one defined in the cycle.

Why this could be useful ? When you have several curves, it could be better to just colorize some curves to highlight them whereas the others are less important but you still need to show them in gray for example.

Here is an example : see the rule 8.

Dominant language
Python
Stars
83
Forks
51
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from matplotlib/cycler

All issues in matplotlib/cycler

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.