Ask Your Question

Revision history [back]

Open the file profile_default/ipython_config.py inside the folder given by the command sage -ipython locate (if you do not have this file, sage -ipython profile create creates it). In that file, uncommenting the following line will set the default color properly:

# Set the color scheme (NoColor, Neutral, Linux, or LightBG).
c.InteractiveShell.colors = 'Linux'     # Linux is for dark background