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

Function test_set_matplotlib_close

IPython/core/tests/test_display.py:142–148  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

140
141@dec.skip_without('matplotlib')
142def test_set_matplotlib_close():
143 cfg = _get_inline_config()
144 cfg.close_figures = False
145 display.set_matplotlib_close()
146 assert cfg.close_figures
147 display.set_matplotlib_close(False)
148 assert not cfg.close_figures
149
150_fmt_mime_map = {
151 'png': 'image/png',

Callers

nothing calls this directly

Calls 1

_get_inline_configFunction · 0.85

Tested by

no test coverage detected