Fill the browser with the width of Jupyter Notebook

A trick to fill the browser with the width of Jupyter Notebook.

~/.jupyter/custom/custom.css

Add the following to.

@media (min-width: 768px) {
  .container {
    width: 98%;
  }
}
@media (min-width: 992px) {
  .container {
    width: 98%;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 98%;
  }
}

By doing this, it seems that you can overwrite the pixel-specified width setting described in ... / site-packages / notebook / static / style / style.min.css.

Note that you will need to restart Jupyter's server after making any changes.

Recommended Posts

Fill the browser with the width of Jupyter Notebook
Specify the browser to use with Jupyter Notebook. Especially Mac. (And Vivaldi)
Browser specification of Jupyter Notebook in Windows environment
To output a value even in the middle of a cell with Jupyter Notebook
How to make the font width of jupyter notebook put in pyenv equal width
The kernel of jupyter notebook can no longer connect
Monitor the training model with TensorBord on Jupyter Notebook
Using Graphviz with Jupyter Notebook
Use pip with Jupyter Notebook
Use Cython with Jupyter Notebook
Play with Jupyter Notebook (IPython Notebook)
Change the theme of Jupyter
Read the csv file with jupyter notebook and write the graph on top of it
About the garbled Japanese part of pandas-profiling in Jupyter notebook
I wrote the basic grammar of Python with Jupyter Lab
Reflect the virtual environment created with Miniconda in Jupyter notebook
How to see the contents of the Jupyter notebook ipynb file
The usual way to add a Kernel with Jupyter Notebook
Connect the Jupyter Notebook kernel to Spyder with Jupytext enabled
I wrote the basic operation of matplotlib with Jupyter Lab
Allow external connections with jupyter notebook
Formatting with autopep8 on Jupyter notebook
Visualize decision trees with jupyter notebook
Make a sound with Jupyter notebook
Simply view the Jupyter notebook file
Use markdown with jupyter notebook (with shortcut)
Add more kernels with Jupyter Notebook
Convenient analysis with Pandas + Jupyter notebook
Git management of Jupyter notebook (ipynb) differences in easy-to-read with JupyterLab
I wrote the basic operation of Pandas with Jupyter Lab (Part 1)
I wrote the basic operation of Pandas with Jupyter Lab (Part 2)
Get the width of the div on the server side with Selenium + PhantomJS + Python
Use nb extensions with Anaconda's Jupyter notebook
Align the size of the colorbar with matplotlib
Use apache Spark with jupyter notebook (IPython notebook)
Adjust the bin width crisply and neatly with the histogram of matplotlib and seaborn
Check the existence of the file with python
Use Jupyter Lab and Jupyter Notebook with EC2
Try SVM with scikit-learn on Jupyter Notebook
Display Python 3 in the browser with MAMP
Build the execution environment of Jupyter Lab
Display the graph of tensorBoard on jupyter
Clone the github repository on jupyter notebook
How to use jupyter notebook with ABCI
Initial setting of Jupyter Notebook for Vim lovers ・ Exit with jj (jupyter-vim-binding)
GPU check of PC on jupyter notebook
Linking python and JavaScript with jupyter notebook
The third night of the loop with for
Jupyter Notebook Basics of how to use
The second night of the loop with for
Complete everything with Jupyter ~ Introduction of nbdev ~
[Python] Automatically operate the browser with Selenium
[Jupyter Notebook memo] Display kanji with matplotlib
Rich cell output with Jupyter Notebook (IPython)
Count the number of characters with echo
Fill the missing value (null) of DataFrame with the values before and after with pyspark
A memorandum of how to execute the! Sudo magic command in Jupyter Notebook
The story of doing deep learning with TPU
How to debug with Jupyter or iPython Notebook
Note: Prepare the environment of CmdStanPy with docker
When Html cannot be output with Jupyter Notebook