Reputation: 178
I am trying to visualize a long dictionary in a jupyter notebook. The cell height is too small, so I would like to increase it. I am looking for a simple command that can write in the same cell.
Upvotes: 1
Views: 1860
Reputation: 341
Yes there is a simple way to do this.
The procedure is basically this:
~/python-3.9.5.amd64/Lib/site-packages/notebook/static/custom/
custom.css
.container {
width: 100% !important;
}
div.notebook-container {
width: 100% !important;
height: fit-content;
}
div.menubar-container {
width: 100% !important;
height: fit-content;
}
div.maintoolbar-container {
width: 100% !important;
height: fit-content;
}
div.cell.selected {
border-left-width: 1px !important;
}
div.output_scroll {
resize: vertical !important;
}
.output_wrapper .output {
overflow-y: visible;
height: fit-content;
}
.output_scroll {
box-shadow:none !important;
webkit-box-shadow:none !important;
}
Upvotes: 1