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

Method _pylab_changed

IPython/terminal/ipapp.py:343–348  ·  view source on GitHub ↗

Replace --pylab='inline' with --pylab='auto

(self, name, old, new)

Source from the content-addressed store, hash-verified

341 if self.log_level <= logging.INFO: print()
342
343 def _pylab_changed(self, name, old, new):
344 """Replace --pylab='inline' with --pylab='auto'"""
345 if new == 'inline':
346 warnings.warn("'inline' not available as pylab backend, "
347 "using 'auto' instead.")
348 self.pylab = 'auto'
349
350 def start(self):
351 if self.subapp is not None:

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected