##// END OF EJS Templates
Update object inspector colorscheme when needed.
Antony Lee -
Show More
@@ -635,7 +635,8 b' class InteractiveShell(SingletonConfigurable):'
635
635
636 self.builtin_trap = BuiltinTrap(shell=self)
636 self.builtin_trap = BuiltinTrap(shell=self)
637
637
638 def init_inspector(self):
638 @observe('colors')
639 def init_inspector(self, changes=None):
639 # Object inspector
640 # Object inspector
640 self.inspector = oinspect.Inspector(oinspect.InspectColors,
641 self.inspector = oinspect.Inspector(oinspect.InspectColors,
641 PyColorize.ANSICodeColors,
642 PyColorize.ANSICodeColors,
General Comments 0
You need to be logged in to leave comments. Login now