You call the set_integrator method in ode with 'dopri5' or 'dop853' as an argument.
Here is an example:
import numpy as np import matplotlib.pyplot as plt from scipy.integrate import ode def fun(t, z, omega): """ Right hand side of the differential equations dx/dt = -omega * y dy/dt = omega * x """ x, y = z f = [-omega*y, omega*x] return f
This creates the following graph:

source share