Skip to content

autorange and pushmargin interaction #2428

@nicolaskruchten

Description

@nicolaskruchten
Contributor

Double-clicking on this plot shouldn't cause a jump: https://codepen.io/nicolaskruchten/pen/yvwOJK

Per @alexcjohnson:

I’m looking at https://github.com/plotly/plotly.js/blob/master/src/plots/plots.js#L1675
it might be enough to rearrange that and say something like if(marginsChangedStuff) { if(replotting) { autoRangeAllAxes } else { Plotly.plot } }

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

        Participants

        @nicolaskruchten

        Issue actions

          autorange and pushmargin interaction · Issue #2428 · plotly/plotly.js