()
| 150 | |
| 151 | @dec.skip_without("matplotlib") |
| 152 | def test_set_matplotlib_close(): |
| 153 | from matplotlib_inline.backend_inline import set_matplotlib_close |
| 154 | |
| 155 | cfg = _get_inline_config() |
| 156 | cfg.close_figures = False |
| 157 | |
| 158 | set_matplotlib_close() |
| 159 | assert cfg.close_figures |
| 160 | set_matplotlib_close(False) |
| 161 | assert not cfg.close_figures |
| 162 | |
| 163 | |
| 164 | _fmt_mime_map = { |
nothing calls this directly
no test coverage detected
searching dependent graphs…