environment/lib/python2.7/site-packages/IPython/core/ultratb.py
def color_toggle(self):
        """Toggle between the currently active color scheme and NoColor."""

        if self.color_scheme_table.active_scheme_name == 'NoColor':
            self.color_scheme_table.set_active_scheme(self.old_scheme)
            self.Colors = self.color_scheme_table.active_colors
        else:
            self.old_scheme = self.color_scheme_table.active_scheme_name
            self.color_scheme_table.set_active_scheme('NoColor')
            self.Colors = self.color_scheme_table.active_colors
def color_toggle(self):
        if self.color_scheme_table.active_scheme_name == 'NoColor':
            self.color_scheme_table.set_active_scheme(self.old_scheme)
            self.Colors = self.color_scheme_table.active_colors
        else:
            self.old_scheme = self.color_scheme_table.active_scheme_name
            self.color_scheme_table.set_active_scheme('NoColor')
            self.Colors = self.color_scheme_table.active_colors
def color_toggle ( self ) : if self . color_scheme_table . active_scheme_name == 'NoColor' : self . color_scheme_table . set_active_scheme ( self . old_scheme ) self . Colors = self . color_scheme_table . active_colors else : self . old_scheme = self . color_scheme_table . active_scheme_name self . color_scheme_table . set_active_scheme ( 'NoColor' ) self . Colors = self . color_scheme_table . active_colors
Toggle between the currently active color scheme and NoColor.
Toggle between the currently active color scheme and NoColor .