Customize the color of text in IPython
Friday, September 15, 2023
- Edit the IPython config file, normally at
~/.ipython/profile_default/ipython_config.py
- If the config file is not present - you could generate it with the command:
ipython profile create
It will generate config file with default settings and you could edit them as needed.
- Find and uncomment (or change) setting
c.InteractiveShell.colors
- Change it to one of the color schemes available (you can see them all
listed in the comments)
'Neutral', 'NoColor', 'LightBG', 'Linux'
- Save config file and start IPython.