Ticket #12214: trac_12214_polygon_options.patch

File trac_12214_polygon_options.patch, 1.1 KB (added by ksmith, 8 years ago)
  • sage/plot/polygon.py

    # HG changeset patch
    # User Kenneth Smith <kenny.smith@gordon.edu>
    # Date 1326215108 18000
    # Node ID 09b0538f24553d735a45375585767409d5b5c0c9
    # Parent  9e29a3d84c48c399daaf3920bcb8b17273a0e876
    Trac 12214: Switched reference to polygon.options to
    polygon2d.options and polygon3d.options
    
    diff --git a/sage/plot/polygon.py b/sage/plot/polygon.py
    a b  
    279279    r"""
    280280    Returns a polygon defined by ``points``.
    281281
    282     Type ``polygon.options`` for a dictionary of the default
    283     options for polygons.  You can change this to change
    284     the defaults for all future polygons.  Use ``polygon.reset()``
    285     to reset to the default options.
     282    Type ``polygon2d.options`` for a dictionary of the default
     283    options for 2-dimensional polygons.  Type ``polygon3d.options``
     284    for a dictionary of the default options for 3-dimensional polygons.
     285    You can change either of these to change the defaults for all future
     286    polygons. Use ``polygon.reset()`` to reset to the default options.
    286287   
    287288    EXAMPLES:
    288289