ipythonrc should be setup for LightBG color scheme by default
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ipython (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: ipython
As IPython is most likely to be used by ubuntu users in gnome-terminal, which uses a white background by default, the IPython color scheme should also default to a light background color, otherwise syntax highlighted python code becomes mostly invisible as the main portion of the code is colored foreground white.
Currently the relevant portion of the ~/.ipython/
...
# colors - Coloring option for prompts and traceback printouts.
# Currently available schemes: NoColor, Linux, LightBG.
# This option allows coloring the prompts and traceback printouts. This
# requires a terminal which can properly handle color escape sequences. If you
# are having problems with this, use the NoColor scheme (uses no color escapes
# at all).
# The Linux option works well in linux console type environments: dark
# background with light fonts.
# LightBG is similar to Linux but swaps dark/light colors to be more readable
# in light background terminals.
# keep uncommented only the one you want:
colors Linux
#colors LightBG
#colors NoColor
...
To work best in gnome-terminal on ubuntu, the LightBG option should be uncommented, and Linux commented:
...
# keep uncommented only the one you want:
#colors Linux
colors LightBG
#colors NoColor
...
ipython:
Installed: 0.8.1-2
Candidate: 0.8.1-2
Version table:
*** 0.8.1-2 0
500 http://
100 /var/lib/
Agreed!