def set_style(self, style):
        if isinstance(style, str):
            style = get_style_by_name(style)
        self._style = style
        self._clear_caches()
Sets the style to the specified Pygments style.
dataset/ETHPy150Open ipython/ipython-py3k/IPython/frontend/qt/console/pygments_highlighter.py/PygmentsHighlighter.set_style