Skip to content

Tick values in quantile legend don't get rounded #2345

@mootari

Description

@mootari

It appears that the tick values in a quantile legend don't get rounded. Example:

Plot.barX([0,1,2,3], {fill: d => d}).plot({color: {type: "quantile", legend: true}})
Plot.barX([0,1,2,3,4,5,6], {fill: d => d}).plot({color: {type: "quantile", legend: true, n: 7}})
Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn’t working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions