def test_plot_two_traces_raise(tmpdir): reset_matplotlib() figname = os.path.join(str(tmpdir), "trace_compare.png") with pytest.raises(TypeError): ct.plot_two_trace(smallobs, smallobs[0].copy(), figname=figname) with pytest.raises(TypeError): ct.plot_two_trace(smallobs[0], smallobs.copy(), figname=figname)
def test_plot_two_traces_raise(tmpdir): reset_matplotlib() figname = os.path.join(str(tmpdir), "trace_compare.png") with pytest.raises(TypeError): ct.plot_two_trace(smallobs, smallobs[0].copy(), figname=figname) with pytest.raises(TypeError): ct.plot_two_trace(smallobs[0], smallobs.copy(), figname=figname)
def test_plot_two_trace(tmpdir): reset_matplotlib() figname = os.path.join(str(tmpdir), "trace_compare.png") ct.plot_two_trace(smallobs[0], smallobs[0].copy(), figname=figname)
def test_plot_two_trace(tmpdir): reset_matplotlib() figname = os.path.join(str(tmpdir), "trace_compare.png") ct.plot_two_trace(smallobs[0], smallobs[0].copy(), figname=figname)