Skip to content

Plotly.react should autosize #2385

Closed
Closed
@alexcjohnson

Description

@alexcjohnson

A difference in result between Plotly.newPlot and Plotly.react - the latter doesn't pick up changes in the DOM that affect autosizing the plot. It should, as these two methods should always yield the same result regardless of their histories.

Original report: plotly/react-plotly.js#41

Probably just need to pull in the autosize handling from relayout into react as well.

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