Skip to content
This repository was archived by the owner on Jan 30, 2023. It is now read-only.

Commit e1d43a9

Browse files
author
Matthias Koeppe
committed
src/sage/geometry/polyhedral_complex.py: Change to a centrally symmetric example
1 parent b0ed0a7 commit e1d43a9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/sage/geometry/polyhedral_complex.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -737,8 +737,8 @@ def plot(self, **kwds):
737737
sage: p1 = Polyhedron(vertices=[(1, 1), (0, 0), (1, 2)])
738738
sage: p2 = Polyhedron(vertices=[(1, 2), (0, 0), (0, 2)])
739739
sage: p3 = Polyhedron(vertices=[(0, 0), (0, 2), (-1, 1)])
740-
sage: pc = PolyhedralComplex([p1, p2, p3])
741-
sage: bb = dict(xmin=-2, xmax=2, ymin=-0.5, ymax=3, axes=False)
740+
sage: pc = PolyhedralComplex([p1, p2, p3, -p1, -p2, -p3])
741+
sage: bb = dict(xmin=-2, xmax=2, ymin=-3, ymax=3, axes=False)
742742
sage: g0 = pc.plot(**bb) # optional - sage.plot
743743
sage: g1 = pc.plot(explosion_factor=0.3, **bb) # optional - sage.plot
744744
sage: g2 = pc.plot(explosion_factor=1, **bb) # optional - sage.plot

0 commit comments

Comments
 (0)