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

Method _pylab_changed

IPython/terminal/ipapp.py:312–317  ·  view source on GitHub ↗

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

(self, name, old, new)

Source from the content-addressed store, hash-verified

310 if self.log_level <= logging.INFO: print()
311
312 def _pylab_changed(self, name, old, new):
313 """Replace --pylab='inline' with --pylab='auto'"""
314 if new == 'inline':
315 warnings.warn("'inline' not available as pylab backend, "
316 "using 'auto' instead.")
317 self.pylab = 'auto'
318
319 def start(self):
320 if self.subapp is not None:

Callers

nothing calls this directly

Calls 1

warnMethod · 0.80

Tested by

no test coverage detected