# 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
|
|
| 315 | 315 | sage: octahedron((1,4,3), color='orange') + \ |
| 316 | 316 | octahedron((0,2,1), size=2, opacity=0.6) |
| 317 | 317 | """ |
| | 318 | kwds['enclosed']=True |
| 318 | 319 | if 'aspect_ratio' not in kwds: |
| 319 | 320 | kwds['aspect_ratio'] = [1,1,1] |
| 320 | 321 | return prep(Box(1,1,1).dual(**kwds), center, size, kwds) |
| … |
… |
|
| 452 | 453 | sage: icosahedron((-1/2,0,1), color='orange') + \ |
| 453 | 454 | icosahedron((2,0,1), size=1/2, aspect_ratio=[1,1,1]) |
| 454 | 455 | """ |
| | 456 | kwds['enclosed']=True |
| 455 | 457 | if 'aspect_ratio' not in kwds: |
| 456 | 458 | kwds['aspect_ratio'] = [1,1,1] |
| 457 | 459 | return prep(dodecahedron().dual(**kwds), center, size, kwds) |