jupyter / jupyter/notebook

Support for showing two and more text results separatly

Open
#4,699 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
13.3k
Forks
5.8k
Avg merge
6d 11h
Merged PRs (30d)
7

Description

I am not sure, that this is bug, maybe this is expected behaviour.
But, in `Notebook.ipynb` I have code cell with two text results
````json
{
"cell_type": "code",
"execution_count": null,
"metadata": {
},
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"7"
]
},
{
"name": "stdout",
"output_type": "stream",
"text": [
"8"
]
}
],
"source": "a:7; b:8;"
}
````
As you see, two text resutls.

But when I open the notebook in my Jupyter Notebook `v5.7.8`, I see them merged into one result.
![изображение](https://user-images.githubusercontent.com/32711843/59803614-ad60f980-92f4-11e9-8d98-84c6b08a7606.png)

So it should be? And there is a way to show them separetly?

Contributor guide

Open the contributing guide

Research direction

Reproduce the behavior by opening the provided Notebook.ipynb in Jupyter Notebook v5.7.8 and inspecting how its two stdout entries are rendered. Determine whether separate display is intended, then verify that the two text results appear separately if support is added.

Written by the indexing model from the issue text.

Assessment

Tech stack
jupyter-notebook
Domain
frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.