ASKSAGE: Sage Q&A Forum - Latest question feedhttps://ask.sagemath.org/questions/Q&A Forum for SageenCopyright Sage, 2010. Some rights reserved under creative commons license.Wed, 24 Apr 2013 07:28:01 -0500matplotlib x11 windowhttps://ask.sagemath.org/question/10061/matplotlib-x11-window/In both Ipython and Python terminals I can type in the following
import matplotlib.pyplot as plt
plt.plot([1,2,3,4])
plt.ylabel('some numbers')
plt.show()
and a nice x11 figure will pop up (example figure is shown at http://matplotlib.org/users/pyplot_tutorial.html). In sage, the plt.show() statement just does nothing. Is there any way to make this work in sage? It is kindof neat at times that sage plotting functions just dump an image file and then launches an image viewer, but I need more primitive access to matplotlib sometimes and I also need to be able to interact with the figure sometimes. Why doesn't this work in the sage terminal?kjlvcxzoiperwqWed, 24 Apr 2013 07:28:01 -0500https://ask.sagemath.org/question/10061/