Google Colaboratory: Is there any way to expand the height of the result cell of running a code?
There's an answer from a dev here. Note that the display(...)
command must be included in every cell you wish to extend the max height of (unless maybe you write some extra javascript). Quote below.
An example in Python:
from IPython.display import Javascript
display(Javascript('''google.colab.output.setIframeHeight(0, true, {maxHeight: 5000})'''))
for i in range(200):
print(i)