Combine sage plot with matplotlib
I would like to combine the plots (canvases) of Sage and Matplotlib in one plot. The following is an example script. As you can see (if you run), that Sage is just putting another image on top of the canvas of Matplotlib... Any way to just update the canvas of matplotlib to combine two plots in one plot?
import matplotlib.pyplot as plt
fig, ax = plt.subplots()
x = [1, 2, 3, 4, 5]
y = [1, 2, 3, 4, 5]
ax.plot(x, y)
c = circle((1,1),1)
c_matplotlib = c.matplotlib(figure=fig)
plt.show()
Cross-post on SO: https://stackoverflow.com/questions/7...