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

Function test_inline

tests/test_pylabtools.py:233–245  ·  view source on GitHub ↗
(shell_pylab_fixture)

Source from the content-addressed store, hash-verified

231
232
233def test_inline(shell_pylab_fixture):
234 s = shell_pylab_fixture
235 gui, backend = s.enable_matplotlib("inline")
236 assert gui is None
237 assert s.pylab_gui_select == None
238
239 gui, backend = s.enable_matplotlib("inline")
240 assert gui is None
241 assert s.pylab_gui_select == None
242
243 gui, backend = s.enable_matplotlib("qt")
244 assert gui == "qt"
245 assert s.pylab_gui_select == "qt"
246
247
248def test_inline_twice(shell_pylab_fixture):

Callers

nothing calls this directly

Calls 1

enable_matplotlibMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…