How to make colors readable in iPython 5?

I just upgraded to iPython 5 and all colors are hard to read on my dark terminal background. Is there any way to configure them?

+4
source share
1 answer

You can create a configuration 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'

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

+3
source

Source: https://habr.com/ru/post/1664632/


All Articles