Skip to content

save method for graphics objects does not have an example explicitly using "save" #4689

@sagetrac-ljpk

Description

@sagetrac-ljpk

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")

CC: @mwhansen

Component: documentation

Author: Jason Grout

Reviewer: Mike Hansen

Merged: sage-4.3.2.alpha0

Issue created by migration from https://trac.sagemath.org/ticket/4689

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions