Ask Your Question

Revision history [back]

Open the file profile_default/ 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