Ask Your Question

Revision history [back]

This is probably answered by the answer at

and the answer there is to do:

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = 'all'

and then the Jupyter cells will have the desired behaviour.

This Not sure this is probably answered by the answer atwhat you are asking, but this question might be related:

and the answer there is to do:

from IPython.core.interactiveshell import InteractiveShell
InteractiveShell.ast_node_interactivity = 'all'

and then the Jupyter cells will have print out all the desired behaviour.computed results in the cell, not only the last.