environment/lib/python2.7/site-packages/IPython/frontend/qt/console/ipython_widget.py
def set_default_style(self, colors='lightbg'):
        """ Sets the widget style to the class defaults.

        Parameters:
        -----------
        colors : str, optional (default lightbg)
            Whether to use the default IPython light background or dark
            background or B&W style.
        """
        colors = colors.lower()
        if colors=='lightbg':
            self.style_sheet = styles.default_light_style_sheet
            self.syntax_style = styles.default_light_syntax_style
        elif colors=='linux':
            self.style_sheet = styles.default_dark_style_sheet
            self.syntax_style = styles.default_dark_syntax_style
        elif colors=='nocolor':
            self.style_sheet = styles.default_bw_style_sheet
            self.syntax_style = styles.default_bw_syntax_style
        else:
            raise KeyError("No such color scheme: %s"%colors)
def set_default_style(self, colors='lightbg'):
        colors = colors.lower()
        if colors=='lightbg':
            self.style_sheet = styles.default_light_style_sheet
            self.syntax_style = styles.default_light_syntax_style
        elif colors=='linux':
            self.style_sheet = styles.default_dark_style_sheet
            self.syntax_style = styles.default_dark_syntax_style
        elif colors=='nocolor':
            self.style_sheet = styles.default_bw_style_sheet
            self.syntax_style = styles.default_bw_syntax_style
        else:
            raise KeyError("No such color scheme: %s"%colors)
def set_default_style ( self , colors = 'lightbg' ) : colors = colors . lower ( ) if colors == 'lightbg' : self . style_sheet = styles . default_light_style_sheet self . syntax_style = styles . default_light_syntax_style elif colors == 'linux' : self . style_sheet = styles . default_dark_style_sheet self . syntax_style = styles . default_dark_syntax_style elif colors == 'nocolor' : self . style_sheet = styles . default_bw_style_sheet self . syntax_style = styles . default_bw_syntax_style else : raise KeyError ( "No such color scheme: %s" % colors )
Sets the widget style to the class defaults.

        Parameters:
        -----------
        colors : str, optional (default lightbg)
            Whether to use the default IPython light background or dark
            background or B&W style.
Sets the widget style to the class defaults .