Ticket #10965: trac_10965_circleFix.patch

File trac_10965_circleFix.patch, 1.3 KB (added by peter.story, 10 years ago)

Fixed extra line breaks.

  • sage/plot/polygon.py

    # HG changeset patch
    # User Peter Story <peter.story@gordon.edu>
    # Date 1326212128 18000
    # Node ID 9a7980fde0746a33232d1f8ccdc30807037e7a87
    # Parent  b72663c760492cc8c360d328a6d370c8f88d2069
    Trac #10965: Replaced 'circle' with 'polygon' and added hyperlinks
    
    diff --git a/sage/plot/polygon.py b/sage/plot/polygon.py
    a b  
    2424class Polygon(GraphicPrimitive_xydata):
    2525    """
    2626    Primitive class for the Polygon graphics type.  For information
    27     on actual plotting, please see polygon?, polygon2d?, or polygon3d?
     27    on actual plotting, please see :func:`polygon`, :func:`polygon2d`,
     28    or :func:`~sage.plot.plot3d.shapes2.polygon3d`.
    2829
    2930    INPUT:
    3031
     
    3637
    3738    EXAMPLES:
    3839
    39     Note this should normally be used indirectly via ``circle``::
     40    Note this should normally be used indirectly via :func:`polygon`::
    4041
    4142        sage: from sage.plot.polygon import Polygon
    4243        sage: P = Polygon([1,2,3],[2,3,2],{'alpha':.5})
     
    254255    Returns either a 2-dimensional or 3-dimensional polygon depending
    255256    on value of points.
    256257
    257     For information regarding additional arguments, see either polygon2d?
    258     or polygon3d?.
     258    For information regarding additional arguments, see either :func:`polygon2d`
     259    or :func:`~sage.plot.plot3d.shapes2.polygon3d`.
    259260
    260261    EXAMPLES::
    261262