I would like to display a grid with a plot using Sympy:
import sympy
from sympy import sin
from sympy.abc import x
from math import pi
sympy.plot(sin(x),xlim=(0,2*pi))
Using matplotlib it is straight forward to add a grid :
import matplotlib.pylab as plt
plt.grid(True)
plt.show()
How can I do this with Sympy?


