MCPcopy Create free account
hub / github.com/ipython/ipython / init_banner

Method init_banner

IPython/terminal/ipapp.py:336–341  ·  view source on GitHub ↗

optionally display the banner

(self)

Source from the content-addressed store, hash-verified

334 self.shell.configurables.append(self)
335
336 def init_banner(self):
337 """optionally display the banner"""
338 if self.display_banner and self.interact:
339 self.shell.show_banner()
340 # Make sure there is a space below the banner.
341 if self.log_level <= logging.INFO: print()
342
343 def _pylab_changed(self, name, old, new):
344 """Replace --pylab='inline' with --pylab='auto'"""

Callers 1

initializeMethod · 0.95

Calls 1

show_bannerMethod · 0.80

Tested by

no test coverage detected