Issue
I wrote an extended input code where user will input many options. So the output generated will continuously build up.
However, juypter notebook in VS code will limit the output to this:
there will be '...' after serveral input prompts so i cant see what i have input and what the next prompt is.
I tried to use this
from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = "all"
but it doesnt work.
Solution
You can change the number of lines that are displayed in the output via the settings. Change it to something higher, eg. 500:
"notebook.output.textLineLimit": 500
Open VS Code > File > Preferences > Settings. Then in the settings page look for "notebook". Scroll down to the "Notebook > Output: Text Line Limit", which by default should have 50 as value. I hope this helps.
Answered By - sab0
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.