Skip to content

Commit 82f5890

Browse files
committed
doctest added
1 parent 1dda562 commit 82f5890

File tree

1 file changed

+9
-0
lines changed
  • src/sage/geometry/polyhedron

1 file changed

+9
-0
lines changed

src/sage/geometry/polyhedron/plot.py

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1405,6 +1405,15 @@ def tikz(self, view=[0, 0, 1], angle=0, scale=1,
14051405
...
14061406
NotImplementedError: The polytope has to live in 2 or 3 dimensions.
14071407
1408+
TESTS::
1409+
1410+
sage: P = Polyhedron(vertices=[[0,0,0], [1,0,0],
1411+
....: [0,0,1], [0,1,0]])
1412+
sage: P.projection().tikz(output_type='kawai')
1413+
Traceback (most recent call last):
1414+
...
1415+
ValueError: output_type (='kawai') must be 'LatexExpr' or 'TikzPicture'
1416+
14081417
.. TODO::
14091418
14101419
Make it possible to draw Schlegel diagram for 4-polytopes. ::

0 commit comments

Comments
 (0)