Using sage inside a Python program with PyCharm if I write:
q = sage.all.plot(lambda x: x*x, 1, 10)
q.show()
I get in Python console: "Graphics object consisting of 1 graphics primitive" and the program ends well, but the graphic is not shown. On the other hand if I write:
import matplotlib.pyplot as plt
plt.plot([i*i for i in range(10)])
plt.show()
Graphic is perfectly shown in Plots window inside PyCharm. So matplotlib plots are perfectly shown but sage plots are not.
¿How could I get sage plots using PyCharm?
Thank you.