Shorthand access to the color table scheme selector method.
(self, scheme)
| 359 | |
| 360 | # |
| 361 | def set_colors(self, scheme): |
| 362 | """Shorthand access to the color table scheme selector method.""" |
| 363 | warnings.warn( |
| 364 | "set_colors is deprecated since IPython 9.0, use set_theme_name instead", |
| 365 | DeprecationWarning, |
| 366 | stacklevel=2, |
| 367 | ) |
| 368 | assert scheme == scheme.lower() |
| 369 | self._theme_name = scheme.lower() |
| 370 | self.parser.theme_name = scheme.lower() |
| 371 | |
| 372 | def set_trace(self, frame=None, **kwargs): |
| 373 | if frame is None: |