The permanent solution is to create a file in the home folder for IPython notebook.
~/.ipython/profile_default/static/custom/custom.css
or Jupyter notebook
~/.jupyter/custom/custom.css
with content
.container { width:100% !important; }
Then restart iPython/Jupyter notebooks. Note that this will affect all notebooks.
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.core.display import display, HTML
display(HTML("<style>.container {width:90% !important;</style>"))
0 comments:
Post a Comment