MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / uninstall_repl_displayhook

Function uninstall_repl_displayhook

lib/matplotlib/pyplot.py:347–354  ·  view source on GitHub ↗

Disconnect from the display hook of the current shell.

()

Source from the content-addressed store, hash-verified

345
346
347def uninstall_repl_displayhook() -> None:
348 """Disconnect from the display hook of the current shell."""
349 global _REPL_DISPLAYHOOK
350 if _REPL_DISPLAYHOOK is _ReplDisplayHook.IPYTHON:
351 from IPython import get_ipython
352 ip = get_ipython()
353 ip.events.unregister("post_execute", _draw_all_if_interactive)
354 _REPL_DISPLAYHOOK = _ReplDisplayHook.NONE
355
356
357draw_all = _pylab_helpers.Gcf.draw_all

Callers 1

ioffFunction · 0.85

Calls 1

unregisterMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…