Browse files

Wrote example for 'colors' command

Work done as a team by:
-- V Sowjanya <hai.sowjanya@gmail.com>
-- N Rajender Reddy <raj.rajender007@gmail.com>
-- R Srikanth <sri.rajan143@gmail.com>
  • Loading branch information...
1 parent 1d438e6 commit 62ead75618e5ae628a50b97579267a56bc4459cd @vsowjanya vsowjanya committed with Feb 15, 2011
Showing with 8 additions and 1 deletion.
  1. +8 −1 IPython/core/magic.py
View
9 IPython/core/magic.py
@@ -2374,7 +2374,14 @@ def magic_colors(self,parameter_s = ''):
Currently implemented schemes: NoColor, Linux, LightBG.
- Color scheme names are not case-sensitive."""
+ Color scheme names are not case-sensitive.
+
+ Examples
+ --------
+ To get a plain black and white terminal::
+
+ %colors nocolor
+ """
def color_switch_err(name):
warn('Error changing %s color schemes.\n%s' %

0 comments on commit 62ead75

Please sign in to comment.