pip install RISE --user
jupyter-nbextension install rise --py --user
jupyter nbextension enable rise --user --py
from http://stackoverflow.com/questions/18770504/resize-ipython-notebook-output-window :
%%html
<style>
.input {
height:auto !important;
max-height:300px; /* your desired max-height here */
overflow-y:scroll;
}
# .input_scroll {
# box-shadow:none !important;
# webkit-box-shadow:none !important;
# }
</style>
%%html
<style>
body {
overflow: auto;
}
.input {
height:auto !important;
max-height:300px; /* your desired max-height here */
overflow-y:scroll;
}
# .input_scroll {
# box-shadow:none !important;
# webkit-box-shadow:none !important;
# }
</style>