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

Plotly figures are cropped in JupyterLab 4 (currently in preview) #4066

Closed
fcollonval opened this issue Feb 10, 2023 · 5 comments
Closed

Plotly figures are cropped in JupyterLab 4 (currently in preview) #4066

fcollonval opened this issue Feb 10, 2023 · 5 comments

Comments

@fcollonval
Copy link
Contributor

That rule will not have the proper effect in the upcoming major JupyterLab:

You should set height directly. See jupyterlab/jupyterlab#13227 for more details.

@jtpio
Copy link

jtpio commented May 15, 2023

Just a heads-up that JupyterLab 4.0 is currently in rc and will soon be released.

When checking with rc1 it still seems to be an issue:

image

@alexcjohnson
Copy link
Collaborator

And now 4.0.0 is released - thanks for the heads up @fcollonval @jtpio, we'll get this addressed shortly.

@alexcjohnson
Copy link
Collaborator

In the meantime, explicitly setting the figure height works: fig.layout.height = 360 to match the previous default.

@alexcjohnson
Copy link
Collaborator

Closed by #4227

@jtpio
Copy link

jtpio commented Jun 6, 2023

Nice, thanks!

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

Successfully merging a pull request may close this issue.

4 participants