Search code examples
pythonjupyter-notebookipythonjupyter

How do I increase the cell width of the Jupyter/ipython notebook in my browser?


I would like to increase the width of the ipython notebook in my browser. I have a high-resolution screen, and I would like to expand the cell width/size to make use of this extra space.

Thanks!


Solution

  • If you don't want to change your default settings, and you only want to change the width of the current notebook you're working on, you can enter the following into a cell:

    from IPython.display import display, HTML
    display(HTML("<style>.container { width:100% !important; }</style>"))