How to display all output in Jupyter Notebook within Visual Studio Code?

Question:

Within Jupyter Notebook in VS Code when I run code that prints a lot of output at some point the remaining output is suppressed and a message is displayed

"show more (open the raw output data in a text editor) …"

How can I make all the output visible?

enter image description here

Asked By: Matt

||

Answers:

set

"jupyter.textOutputLimit": 0

in the settings.json.

The default value of it is 20000.

Answered By: Steven-MSFT

I think you are using the insiders build here is the right setting ,I had the same problem and it worked for me.

"notebook.output.textLineLimit": 500

edit: this will also work for the stable version

Answered By: Atmani Saad

You need to change it from the settings. This is set lower value (30 in my case).
To see all lines, you need to change the "number of lines to show" value. Follow these steps to do so.

Open VS code settings or (ctrl + ,) >> In search box type "output.textLineLimit" >> Find "Notebook>Output: Text Line Limit" >> Change the value as per your requirement (say 500 to show 500 lines)

Answered By: Raushan Kumar

In the latest version of VS Code, the above-mentioned options can be found under Features->Notebook->Output: Text Line Limit

Answered By: user6347318