Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plot resizing on trace toggle #251

Closed
mdtusz opened this issue Feb 11, 2016 · 1 comment · May be fixed by aravindb26/plotly.js#1
Closed

Plot resizing on trace toggle #251

mdtusz opened this issue Feb 11, 2016 · 1 comment · May be fixed by aravindb26/plotly.js#1
Labels
bug something broken

Comments

@mdtusz
Copy link
Contributor

mdtusz commented Feb 11, 2016

@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.

@mdtusz mdtusz added the bug something broken label Feb 12, 2016
@mdtusz
Copy link
Contributor Author

mdtusz commented Feb 24, 2016

Fixed in PR #243

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug something broken
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant