Dear Jan,

Yesterday I installed the new Sage update from the PPA (Sage Version 5.1, 
Release Date: 2012-07-09). My Python code executes now without crashing due 
to error(s). However the figures that are generated by the end of my code 
are not shown. It simply takes my commands to produce a plot and does 
nothing with it. It does not even mention an error of some kind.

I have conceived a small test case which produces the same malfunctioning:

===============================

import numpy as np
import matplotlib.pyplot as plt

a = np.array([0,1,2,3,4,5,6,7,8,9,10])
b = np.array([0,1,4,9,16,25,36,49,64,81,100])

plt.figure()
plt.plot(a,b)
plt.show()

===============================

The above test case should produce the right half of a parabola and it 
works fine in ipython. However it does not work with Sage nor with Sage's 
ipython which can be invoked in a terminal through:

sage --ipython

I am however able to produce normal Sage, non-Python plots like:

plot(x^2)

Am I missing a package or do I have to adjust some settings?

-- 
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URL: http://www.sagemath.org

Reply via email to