-
-
Notifications
You must be signed in to change notification settings - Fork 3.4k
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
Plotly figure cropped with JupyterLab 4.0.0a30 #13227
Comments
@jtpio does it resize after a certain delay or not? Because at first the plotly height is small as it displays here (I saw that in the integration tests). |
No it does not seem to resize, even when resizing the window or triggering changes: plotly-figure-cropped.mp4 |
Thanks for the screencast. |
I can confirm this is still happening on I think the reason is that the CSS rule applied is:
coupled to the current set of CSS rule: Setting ref: https://drafts.csswg.org/css2/#min-max-heights The switch to table layout was done in #11508 |
Update: this was fixed in plotly/plotly.py#4227. We can keep the issue open until there is a new release with the fix. |
Closing as it is now fixed with Plotly 5.15.0: https://github.com/plotly/plotly.py/releases/tag/v5.15.0 |
Description
Reporting here since this is an issue with JupyterLab 4 but not with 3:
4.0.0a30
3.4.7
Reproduce
pip install plotly pandas
Expected behavior
The figure should be displayed correctly.
Context
cc @fcollonval who might know if that could be related to the virtual notebook changes
The text was updated successfully, but these errors were encountered: