def test_plot_result_interpolation(): odes = OdeSys(vdp_f, vdp_j) odes.integrate([0, 1, 2], [1, 0], params=[2.0], nderiv=1, integrator='cvode') odes.plot_result(interpolate=True)
def test_plot_result(): odes = OdeSys(vdp_f, vdp_j) odes.integrate([0, 1, 2], [1, 0], params=[2.0], integrator='scipy') odes.plot_result()