-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Cannot specify figure width with Jupyterlab #2324
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
Comments
Could this be a consequence of |
@emmanuelle my guess is that it is not. I assume Info about plotly/plotly.js#4392PR plotly/plotly.js#4392 is meant to resolve Promises returned by resize operations (ie. |
thank you @antoinerg I will try to set both the width and height |
Thanks for the great tip @antoinerg indeed if you specify both |
Running into this problem also. Can confirm that setting both Would be great to get a fix in for this. It took me a while to convince myself that there was some kind of a bug (as opposed to user error) and JupyterLab is increasingly becoming the default notebook experience. |
Jupyterlab always resizes the width of the figure to the width of the notebook. When executing the code below, one can see the figure generated with the correct figure for a very short time, and then it resizes to the full width. Is it related to recent changes to make plotly figures more reactive?
Inside a fresh environment, with plotly / jupyterlab / widgets versions of our Readme.
No error messages in the console.
The text was updated successfully, but these errors were encountered: