Skip to content

[BUG] [REGRESSION]: tickprefix/ticksuffix ignored when tickvals provided #8006

Description

@emilykl

Codepen: https://codepen.io/emilykl-code/pen/jEBbzvL

In plotly.js v2.29.1 and earlier, tickprefix and ticksuffix would be applied as expected when tick values were provided with tickvals:

Image

However starting with v2.30.0 and continuing to the latest v4.0.0, suddenly tickprefix and ticksuffix are ignored when tickvals is passed:

Image

There's no reason why tickprefix/ticksuffix can't coexist with tickvals, so this should be fixed.

This bug was also noticed in plotly.py issues plotly/plotly.py#4041, plotly/plotly.py#4678

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions