Created
October 29, 2021 22:11
-
-
Save janbenetka/63a80bde99cc0f50d9d96bb55f149b3f to your computer and use it in GitHub Desktop.
[Restrict height of cell in Colab (in px)] #colab
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
from IPython.display import Javascript # Restrict height of output cell. | |
display(Javascript('''google.colab.output.setIframeHeight(0, true, {maxHeight: 300})''')) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment