Hi Lee, SymPy's plotting module uses matplotlib so it is reasonable to use the matplotlib API for adding a grid.
I just tried this and it works fine: In [1]: plot(x**2) Out[1]: <sympy.plotting.plot.Plot at 0x7efd2fab3128> In [2]: from matplotlib.pyplot import grid In [3]: grid() Oscar On Wed, 26 Jun 2019 at 01:59, Lee Smith <leesmith...@gmail.com> wrote: > > Greetings: > > I want to display a grid in a sympy plot. > > The sympy.doc page only discusses mesh grids. > > On searching through Google, I found only one result that suggested using > matplotlib.pyplot in addition to the sympy.plot(...) method. > > This should be simple and I am surprised that it is not asked more. > > Thanks in advance, > lee > > -- > You received this message because you are subscribed to the Google Groups > "sympy" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to sympy+unsubscr...@googlegroups.com. > To post to this group, send email to sympy@googlegroups.com. > Visit this group at https://groups.google.com/group/sympy. > To view this discussion on the web visit > https://groups.google.com/d/msgid/sympy/01a492c1-f8df-4810-b413-063f65ce4fa1%40googlegroups.com. > For more options, visit https://groups.google.com/d/optout. -- You received this message because you are subscribed to the Google Groups "sympy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sympy+unsubscr...@googlegroups.com. To post to this group, send email to sympy@googlegroups.com. Visit this group at https://groups.google.com/group/sympy. To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/CAHVvXxRSY%3DJ4sLs6wfePiB921ThqpYazi8MWu88mQjMtia7iJQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.