I'm doing a bit of choropleth map plotting in a Jupyter notebook (with Folium), and I was just wondering if there's any way of making an output cell fullscreen? It would just make the map a bit easier to view. If not, is there an easy way of modifying the maximum height of an output cell?
To show the full data without any hiding, you can use pd. set_option('display. max_rows', 500) and pd.
One more way to change the width of the Jupyter Notebook cell is by using themes. This will increase the cell width to 100%. Also you will be able to change the font and the font size.
To prevent scrolling within a single cell output, select the cell and press Shift+O while in command state. It will toggle output for that particular cell. If you want all the cells to display long outputs without scrolling, then go to the Cell tab -> All Outputs -> Toggle Scrolling .
Try this:
from IPython.core.display import display, HTML
display(HTML("<style>.container { width:100% !important; }</style>"))
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With