Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How do I make the colours readable in iPython 5?

Tags:

ipython

I've just upgraded to iPython 5 and all the colours are hard to read with my dark terminal background. Is there a way to adjust these?

like image 968
Alex L Avatar asked Dec 23 '16 03:12

Alex L


1 Answers

You can create a config file for the default profile:

❯ ipython profile create default
[ProfileCreate] Generating default config file: '/Users/alex/.ipython/profile_default/ipython_config.py'

And then modify this file to include the following lines:

## Set the color scheme (NoColor, Neutral, Linux, or LightBG).
c.InteractiveShell.colors = 'linux'

You can read about the available color schemes here: http://ipython.readthedocs.io/en/stable/config/details.html

like image 104
Alex L Avatar answered Sep 28 '22 23:09

Alex L