<sympy.plotting.plot Plot at...>

14 views
Skip to first unread message

Javier Arántegui

unread,
Jul 6, 2020, 10:34:48 AM7/6/20
to sy...@googlegroups.com
Hello!

Using Jupyter, when you use ‘plot’, you get the plot and a line saying “<sympy.plotting.plot.Plot at ...>”. I have a couple of questions:

1. What is the reason to put that line? I’m sure there is a reason.

2. Is there an easy way to remove it? I find it quite ugly.

Ah! I have just found one way to remove it:

p = plot(sin(t), show=False)
p.show()

Best regards,

Javier

Jason Moore

unread,
Jul 6, 2020, 11:41:31 AM7/6/20
to sympy
You can suppress the output in Jupyter by appending a semi-colon at the end of the line.

Jason

--
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+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sympy/E7A36F3A-F8CF-4640-AE70-D64F057086AB%40gmail.com.
Reply all
Reply to author
Forward
0 new messages