

def use_ui_colorscheme(self, name):
    '\n        Apply new colorscheme. (By name.)\n        '
    assert (name in self.ui_styles)
    self._current_ui_style_name = name
    self._current_style = self._generate_style()

dataset/ETHPy150Open jonathanslenders/ptpython/ptpython/python_input.py PythonInput.use_ui_colorscheme/original