Skip to content

BUG: scale.colors() does not respect the change in domain  #329

@ClaytonSmith

Description

@ClaytonSmith

chroma.scale('Spectral').domain([1,0]) vs chroma.scale('Spectral').domain([1,0]).colors(12) do not match.

That is to say chroma.scale('Spectral').domain([1,0]).colors(12) === chroma.scale('Spectral').colors(12)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions