()
| 88 | } |
| 89 | |
| 90 | def 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 | |
| 100 | def test_select_figure_formats_kwargs(): |
| 101 | ip = get_ipython() |
nothing calls this directly
no test coverage detected