Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Making a Jupyter notebook output cell fullscreen

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?

like image 460
Ned Yoxall Avatar asked Feb 23 '16 11:02

Ned Yoxall


People also ask

How do you show full output in Jupyter Notebook?

To show the full data without any hiding, you can use pd. set_option('display. max_rows', 500) and pd.

How do you expand the output cell in a Jupyter Notebook?

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.

How do you print all output in a Jupyter Notebook without scrolling?

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 .


1 Answers

Try this:

    from IPython.core.display import display, HTML
    display(HTML("<style>.container { width:100% !important; }</style>"))
like image 189
Toddneal Stallworth Avatar answered Oct 12 '22 02:10

Toddneal Stallworth