MCPcopy Index your code
hub / github.com/ipython/ipython / set_theme_name

Method set_theme_name

IPython/core/tbtools.py:497–503  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

495 return self._theme_name != "nocolor"
496
497 def set_theme_name(self, name: str) -> None:
498 assert name in theme_table
499 assert name.lower() == name
500 self._theme_name = name
501 # Also set colors of debugger
502 if hasattr(self, "pdb") and self.pdb is not None:
503 self.pdb.set_theme_name(name)
504
505 def set_colors(self, name: str) -> None:
506 """Shorthand access to the color table scheme selector method."""

Callers 2

__init__Method · 0.95
set_colorsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected