#6864: Stop Sage tests from saving things to hard drive
---------------------------+------------------------------------------------
Reporter: kcrisman | Owner: tba
Type: defect | Status: new
Priority: minor | Milestone: sage-4.1.2
Component: documentation | Keywords:
Reviewer: | Author:
Merged: |
---------------------------+------------------------------------------------
As far as I can tell, there are several objects that are saved when you
run sage -t. One example is
{{{
sage: from pylab import *
sage: t = arange(0.0, 2.0, 0.01)
sage: s = sin(2*pi*t)
sage: P = plot(t, s, linewidth=1.0)
sage: xl = xlabel('time (s)')
sage: yl = ylabel('voltage (mV)')
sage: t = title('About as simple as it gets, folks')
sage: grid(True)
sage: savefig('sage.png')
}}}
in sage/plot/plot.py. However, there are others, which are unfortunately
not anywhere near as easy to find, since they don't have a goofy caption.
This one seems to do it right:
{{{
sage: text("sage", (0,0), rgbcolor=(0,0,0)).save(SAGE_TMP + 'a.pdf')
}}}
which is in the sage/plot/text.py, I think.
I'm not sure what else there is for sure, but I get at the very least the
graphics which are attached. If you recognize them, post it here.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/6864>
Sage <http://sagemath.org/>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---