Skip to content

autorange and pushmargin interaction #2428

Closed
@nicolaskruchten

Description

@nicolaskruchten

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

    Issue actions