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

"Create new view for output" in jupyter lab 4.0.0 not working as before #14564

Closed
faisalalnasser13 opened this issue May 18, 2023 · 4 comments · Fixed by #14911
Closed

"Create new view for output" in jupyter lab 4.0.0 not working as before #14564

faisalalnasser13 opened this issue May 18, 2023 · 4 comments · Fixed by #14911
Labels
bug tag:Regression Behavior that had been broken, was fixed, and is broken again
Milestone

Comments

@faisalalnasser13
Copy link

When I create a new view for output with multiple plots and print commands produced in a loop. The output window only shows print commands and not plots. I downgraded it to 3.6.0 and it works properly. I'm using Chrome.

@welcome
Copy link

welcome bot commented May 18, 2023

Thank you for opening your first issue in this project! Engagement like this is essential for open source projects! 🤗

If you haven't done so already, check out Jupyter's Code of Conduct. Also, please try to follow the issue template as it helps other other community members to contribute more effectively.
welcome
You can meet the other Jovyans by joining our Discourse forum. There is also an intro thread there where you can stop by and say Hi! 👋

Welcome to the Jupyter community! 🎉

@jupyterlab-probot jupyterlab-probot bot added the status:Needs Triage Applied to new issues that need triage label May 18, 2023
@tzeitim
Copy link

tzeitim commented May 19, 2023

I have the same issue and can confirm that is specific to jupyter lab 4.

Old behavior
image

New behavior
image

@krassowski krassowski added tag:Regression Behavior that had been broken, was fixed, and is broken again and removed status:Needs Triage Applied to new issues that need triage labels May 19, 2023
@krassowski krassowski added this to the 4.0.x milestone May 19, 2023
@krassowski
Copy link
Member

This appears to be a side-effect of #11508 (CC @SylvainCorlay).

The outputs are there, just off screen because of these CSS rules:

.jp-OutputArea-output {
display: table-cell;
width: 100%;

this makes the text output occupy 100% of the screen leaving no space to show the image output.

The problem may be cause by jp-LinkedOutputView panel not implementing the full hierarchy of output area as shown in #11508 (comment) (it only has jp-OutputArea but not jp-OutputArea-child nor jp-InputPrompt which defines rows).

@ghost
Copy link

ghost commented Jul 10, 2023

Should I stay with jupyterlab 3 for now?
Can you please suggest a CSS override to make a jupyterlab 4 extension display output views?
Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug tag:Regression Behavior that had been broken, was fixed, and is broken again
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants