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

Function test_select_figure_formats_str

IPython/core/tests/test_pylabtools.py:90–98  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

88}
89
90def test_select_figure_formats_str():
91 ip = get_ipython()
92 for fmt, active_mime in _fmt_mime_map.items():
93 pt.select_figure_formats(ip, fmt)
94 for mime, f in ip.display_formatter.formatters.items():
95 if mime == active_mime:
96 nt.assert_in(Figure, f)
97 else:
98 nt.assert_not_in(Figure, f)
99
100def test_select_figure_formats_kwargs():
101 ip = get_ipython()

Callers

nothing calls this directly

Calls 1

get_ipythonFunction · 0.90

Tested by

no test coverage detected