(self)
| 179 | matplotlib.rcParamsOrig = self._saved_rcParamsOrig |
| 180 | |
| 181 | def test_qt(self): |
| 182 | s = self.Shell() |
| 183 | gui, backend = s.enable_matplotlib(None) |
| 184 | nt.assert_equal(gui, 'qt') |
| 185 | nt.assert_equal(s.pylab_gui_select, 'qt') |
| 186 | |
| 187 | gui, backend = s.enable_matplotlib('inline') |
| 188 | nt.assert_equal(gui, 'inline') |
| 189 | nt.assert_equal(s.pylab_gui_select, 'qt') |
| 190 | |
| 191 | gui, backend = s.enable_matplotlib('qt') |
| 192 | nt.assert_equal(gui, 'qt') |
| 193 | nt.assert_equal(s.pylab_gui_select, 'qt') |
| 194 | |
| 195 | gui, backend = s.enable_matplotlib('inline') |
| 196 | nt.assert_equal(gui, 'inline') |
| 197 | nt.assert_equal(s.pylab_gui_select, 'qt') |
| 198 | |
| 199 | gui, backend = s.enable_matplotlib() |
| 200 | nt.assert_equal(gui, 'qt') |
| 201 | nt.assert_equal(s.pylab_gui_select, 'qt') |
| 202 | |
| 203 | def test_inline(self): |
| 204 | s = self.Shell() |
nothing calls this directly
no test coverage detected