Ticket #11759: trac_11759.patch

File trac_11759.patch, 1009 bytes (added by dimpase, 11 years ago)
  • sage/plot/plot3d/platonic.py

    # HG changeset patch
    # User Dmitrii Pasechnik <dimpase@gmail.com>
    # Date 1315329727 -28800
    # Node ID ced971e069d751c5f16b5e06e5a62c38789d9484
    # Parent  ad40adc3b5dfdfd630c45723c9bdbeb8736c039f
    11759: adding options to arguments
    
    diff --git a/sage/plot/plot3d/platonic.py b/sage/plot/plot3d/platonic.py
    a b  
    315315        sage: octahedron((1,4,3), color='orange') + \
    316316                     octahedron((0,2,1), size=2, opacity=0.6)
    317317    """
     318    kwds['enclosed']=True
    318319    if 'aspect_ratio' not in kwds:
    319320        kwds['aspect_ratio'] = [1,1,1]
    320321    return prep(Box(1,1,1).dual(**kwds), center, size, kwds)
     
    452453        sage: icosahedron((-1/2,0,1), color='orange') + \
    453454              icosahedron((2,0,1), size=1/2, aspect_ratio=[1,1,1])
    454455    """
     456    kwds['enclosed']=True
    455457    if 'aspect_ratio' not in kwds:
    456458        kwds['aspect_ratio'] = [1,1,1]
    457459    return prep(dodecahedron().dual(**kwds), center, size, kwds)