Dear all,

When I upgraded to 3.1.2, I found that some of my plots generated
using pylab in the notebooks miss their bottom bits. It seems to be
related to the dpi setting. Example:

import pylab
x1 = srange(0,1.1,0.01)
d1 = [2*x+x^2 for x in x1]
pylab.clf() # clear the figure first
pylab.figure(1)
pylab.plot(x1,d1, label="d1")
pylab.ylabel("$f(x)$") # label the axes
pylab.xlabel("$x$")
pylab.savefig('foo.png',dpi=72) # fire!

If I leave the "dpi=72" out in the last line, the plot is larger and
complete. This problem did not occur in sage 3.1.1, so I assume that
it is a bug. Could someone confirm and if so, create a ticket? Thanks!

Regards,
Stan
--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to