def test_setup_with_seaborn_off(self):
        seaborn = mock.MagicMock()
        conf['pyexperiment.plot.seaborn.enable'] = False
        with mock.patch.dict('sys.modules', {'seaborn': seaborn}):
            plot.setup_plotting()
        self.assertEqual([], seaborn.method_calls)
        del conf['pyexperiment']
Test setup configures seaborn disabled
dataset/ETHPy150Open duerrp/pyexperiment/tests/test_plot.py/TestPlot.test_setup_with_seaborn_off