nbclassic icon indicating copy to clipboard operation
nbclassic copied to clipboard

Whitespace in overly long output

Open cfbolz opened this issue 3 years ago • 1 comments

One of my Python intro students had this (to them frustrating) problem this week: When the output of a cell is very long, it's split up into different output_area divs, with output_subareas inside. The bottom and top padding around these output_subarea divs make it look like there is an empty line printed in the middle of the long output, making the student search for an extra print() in their code. See screenshot for an example: Screenshot from 2022-05-02 09-55-30

Version as per "About":

Server Information:

You are using Jupyter notebook.

The version of the notebook server is: 6.4.11
The server is running on this version of Python:

Python 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0]

Current Kernel Information:

Python 3.10.4 (main, Apr  2 2022, 09:04:19) [GCC 11.2.0]
Type 'copyright', 'credits' or 'license' for more information
IPython 7.31.1 -- An enhanced Interactive Python. Type '?' for help.

cfbolz avatar May 02 '22 09:05 cfbolz

I am trying to reproduce this but can only get one output_subarea.

Screenshot 2022-10-28 at 08 15 57

echarles avatar Oct 28 '22 06:10 echarles