2

Anyone know if and how this is possible within the Jupyter that comes with Anaconda? (i.e. Customizing the Jupyter theme via CSS in Anacconda).

http://sherifsoliman.com/2016/01/11/theming-ipython-jupyter-notebook/

I tried putting a css file here: Anaconda3\Lib\site-packages\jupyter_core\tests\dotipython\custom\custom.css

But can't see any changes and not sure if this is even the right place for it.

6
  • I put the custom.css file in ~/.jupyter/custom/ and it works well. By the way, I'm using a Mac and I installed python3 with Homebrew, and other packages with pip3. Commented Jun 25, 2017 at 9:23
  • Is that within Anaconda? Can you post the full path within the Anaconda directory? I didn't see a .jupyter/custom/ folder in there on Windows. Commented Jun 25, 2017 at 14:58
  • Not within Anaconda (I'm not using it). I thought there is a folder on Windows which functions similar to the folder ~/.jupyter/custom/ on macOS or Linux. Maybe I was wrong. Commented Jun 26, 2017 at 13:28
  • 1
    My understanding is that you can install Jupyter directly in which case it will create ~/.jupyter/custom/ or rely on the one that comes with Anaconda. It's this latter scenario I'm struggling with. Commented Jun 26, 2017 at 13:32
  • @user1761806 - I've also run into this problem. Please let us know if you sovled it. Commented Jul 27, 2017 at 7:08

2 Answers 2

2

Given that my conda is installed on

/Users/myusername/anaconda

what I did is to copy the custom.css into

/Users/myusername/anaconda/lib/python3.6/site-packages/notebook/

(note that I installed Conda for Python 3.6) After that just restart your jupyter notebook, it should be updated to the new theme

Edit: my custom.css is created using Jupyter-Themer.

Sign up to request clarification or add additional context in comments.

Comments

0

you can put it on C:/Users/User/.jupyter/custom/custom.css

works for me

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.