#4689: Documentation documenting the wrong thing
---------------------+------------------------------------------------------
Reporter: ljpk | Owner: tbd
Type: defect | Status: new
Priority: minor | Milestone: sage-3.2.2
Component: algebra | Keywords:
---------------------+------------------------------------------------------
The examples in the documentation for the save method seems to be broken.
If I try
{{{
sage: E=EllipticCurve([1,0])
sage: Eplot=E.plot()
sage: Eplot.save?
}}}
then I get
{{{
EXAMPLES:
sage: c = circle((1,1),1,rgbcolor=(1,0,0))
sage: c.show(xmin=-1,xmax=3,ymin=-1,ymax=3)
To correct the apect ratio of certain graphics, it is
necessary
to show with a 'figsize' of square dimensions.
sage: c.show(figsize=[5,5],xmin=-1,xmax=3,ymin=-1,ymax=3)
sage: point((-1,1),pointsize=30, rgbcolor=(1,0,0))
}}}
which never mentions "save" at all. Presumably there should be an extra
line, something like
{{{
sage: c.save("example.png")
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/4689>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---