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

Commit

Permalink
Merge branch 'u/chapoton/22144' in alternative branch
Browse files Browse the repository at this point in the history
  • Loading branch information
Frédéric Chapoton committed Jan 10, 2017
2 parents 088e974 + 976fd8e commit 5f16820
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/sage/geometry/polyhedron/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -1114,8 +1114,7 @@ def render_solid_3d(self, **kwds):
"""
polys = self.polygons
N = max([-1] + [i for p in polys for i in p]) + 1
return polygons3d(self.polygons,
self.coordinates_of(range(N)), **kwds)
return polygons3d(polys, self.coordinates_of(range(N)), **kwds)

def render_0d(self, point_opts={}, line_opts={}, polygon_opts={}):
"""
Expand Down

0 comments on commit 5f16820

Please sign in to comment.