Skip to content

Plot resizing on trace toggle #251

Closed
aravindb26/plotly.js
#1
@mdtusz

Description

@mdtusz

@alexcjohnson @etpinard

When plotting certain plots (not sure what the required condition is), the plot width will change when a trace is toggled.
For example, use the mock pseudo_html.json.

Immediately after plotting:

screen shot 2016-02-11 at 14 05 27
(the cut off section isn't due to the screenshot)

After toggling a trace:

screen shot 2016-02-11 at 14 05 42

This seems to be happening after a second redraw - the mock in question passes the image tests because the method for rendering images redraws and calculates the changed width.

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