I recently updated to the most recent version of JupyterLab (0.28.12). I'm on Windows.
I've tried adjusting the variables.css
file located in \Lib\site-packages\jupyterlab\themes\@jupyterlab\theme-light-extension
of my Miniconda/Anaconda folder. I mainly want to change the font family and size, which I've tried using the variables.css
file. However, I can't see any changes.
I went to the extreme point of deleting both theme folders, but still I can change themes without a problem through the Lab interface.
Where are the JupyterLab theme .css files located? Or how can I find them? I've searched for css
files and the themes
sub folder seems to be the only location for them. I can't seem to find any in my user directory either c:\Users\User\.jupyter
where the .css
files were for Jupyter Notebook were located.
Thanks!
Not sure how to change font sizes in jupyter notebook, but in jupyter lab, jupyter notebook's successor, you can change font sizes by going “settings” → “Advanced Settings Editor” → “codeCellConfig” → “fontSize”.
If you want to change the text cell font and font size you can type the following in a cell and hit shift+enter.
In JupyterLab version 2.1. 2, you can just go Settings > JupyterLab theme > Increase Code Font Size several times, and it will increase the font sizes from both the code and code output.
JupyterLab will eventually replace the classic Jupyter Notebook. Throughout this transition, the same notebook document format will be supported by both the classic Notebook and JupyterLab.
I am running version 0.35.4 right now on Ubuntu and it is possible to edit the fonts in the Settings->Advanced Settings Editor, selected from the top bar menu.
There are a number of options that can be set by changing the json strings in the Raw View. See the picture below:
From http://jupyterlab.readthedocs.io/en/latest/user/extensions.html?highlight=themes :
<sys-prefix>/share/jupyter/lab
, where <sys-prefix>
is the site-specific directory prefix of the current Python environment. You can query the current application path by running jupyter lab path
.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