Skip to content

fixedrange=True is not applied correctly when updating figure through Plotly.react #3347

Closed
@Marc-Andre-Rivet

Description

@Marc-Andre-Rivet

This issue relates to plotly/dash#508.

Setting an empty figure, later overwritten to a figure with data and layout does not exhibit expected behavior for fixedrange in axis.

Example that exhibits the incorrect behavior: https://codepen.io/anon/pen/JwRxOo
Minimal example that exhibits the correct behavior: https://codepen.io/anon/pen/xmEBVR

Neither of these examples exhibit this problem when used directly (w/o the react wrapper)

fixedrange

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugsomething broken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions