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

Method init_banner

IPython/terminal/ipapp.py:305–310  ·  view source on GitHub ↗

optionally display the banner

(self)

Source from the content-addressed store, hash-verified

303 self.shell.configurables.append(self)
304
305 def init_banner(self):
306 """optionally display the banner"""
307 if self.display_banner and self.interact:
308 self.shell.show_banner()
309 # Make sure there is a space below the banner.
310 if self.log_level <= logging.INFO: print()
311
312 def _pylab_changed(self, name, old, new):
313 """Replace --pylab='inline' with --pylab='auto'"""

Callers 1

initializeMethod · 0.95

Calls 1

show_bannerMethod · 0.80

Tested by

no test coverage detected