jupyter cell output cluttered with empty output with unknown origin
See original GitHub issueThe problem
docarray
mapping functions in jupyter notebooks (VS Code and original jupyter) seem to produce empty output that is printed to the cell output.
This leads to the cell output becoming extremely long and error messages etc very hard to locate.
The empty output for a short loop:
The empty output seems to scale with the number of loop iterations.
Attempted solutions
Read the documentation carefully (I’m new to docarray
😁 ). But didn’t find a reference.
Set show_progress = False
where possible (although apparently already the default). But unsurprisingly this didn’t help.
Minimal example to reproduce the behavior
- OS: Ubuntu 20.04
- Python: 3.9.0
- Repo with example
Happy about any pointers! 😄
Issue Analytics
- State:
- Created a year ago
- Comments:8 (5 by maintainers)
Top Results From Across the Web
python - IPython Notebook - early exit from cell - Stack Overflow
Just import 'exit' from the code beneath into your jupyter notebook (IPython notebook) and calling 'exit()' should work. It will exit and letting...
Read more >Output truncated with no way to view all output in the notebook ...
Since the 1.59 update the output of cells in an interactive python window is truncated if it is longer than 30 lines. The...
Read more >Tutorial: Advanced Jupyter Notebooks - Dataquest
Providing the inline argument instructs IPython to show Matplotlib plot images inline, within your cell outputs, enabling you to include charts ...
Read more >Parameterizing and automating Jupyter notebooks with ...
This command is telling papermill to execute the input notebook papermill_example1.ipynb and write the output to papermill_matt.ipynb , while setting the ...
Read more >How to clear the Jupyter Notebook outputs automatically?
One way to solve this problem is to manually clear the output of every file that has been under modification and then stage...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@eschmidt42 I can reproduce the visual bug, thank you for the great reproducible code ! I will investigate what it going on this definitely looks like a nasty bug that only happen under very particular circumstances
Hi @samsja ,
the environment.yml says:
I think to get the same env one could use:
git clone https://github.com/eschmidt42/docarray-cell-output-issue.git
(contains an environment.yml and poetry files,conda env create -f environment.yml
orpoetry install
with the pyproject.toml and poetry.lock in your directory.Thank you all for looking at this! 😁