Skip to content

Special color names to pull colors from the currently active color cycle #5489

Closed
@mdboom

Description

@mdboom

It would be extremely convenient to be able to choose colors from the current color cycle in the special syntax we support as a third argument to plt.plot. We proposed using [n] for this, where n is the index into the current color cycle. Eg.:

plt.plot(x, y, `[1]o-`)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions