Skip to content

rangeslider doesn't update if range is changed using array #557

Closed
@jdugge

Description

@jdugge

If the range of a plot with a rangeslider is changed using Plotly.relayout(gd, {'xaxis.range': [3,9]}); or Plotly.relayout(gd, 'xaxis.range', [3,9]);, the rangeslider doesn't update to reflect the changed range.

However, when using Plotly.relayout(gd, {'xaxis.range[0]': 3, 'xaxis.range[1]': 9});, both the main plot and the rangeslider get updated correctly.

Reproducible example on codepen

Metadata

Metadata

Assignees

Labels

bugsomething broken

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions