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

Commit

Permalink
src/sage/geometry/polyhedron/base6.py: Small docstring edits
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthias Koeppe committed Apr 5, 2022
1 parent fe86804 commit fbd18ca
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/sage/geometry/polyhedron/base6.py
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ def plot(self,
sage: facet.plot() # optional - sage.plot
Graphics3d Object
For 3d plot, we may draw the polygons with rainbow colors, using any of the following ways::
For a 3d plot, we may draw the polygons with rainbow colors, using any of the following ways::
sage: cube.plot(polygon='rainbow') # optional - sage.plot
Graphics3d Object
Expand All @@ -262,9 +262,8 @@ def plot(self,
sage: cube.plot(fill='rainbow') # optional - sage.plot
Graphics3d Object
For 3d plot, the size of a point, the thickness of a line and the width of an arrow
are controled by the respective parameters::
For a 3d plot, the size of a point, the thickness of a line and the width of an arrow
are controlled by the respective parameters::
sage: prism = Polyhedron(vertices=[[0,0,0],[1,0,0],[0,1,0]], rays=[[0,0,1]])
sage: prism.plot(size=20, thickness=30, width=1) # optional - sage.plot
Expand Down Expand Up @@ -378,7 +377,6 @@ def plot(self,
....: projected_vertices = [sp.transformed_coords[i] for i in indices]
....: assert Polyhedron(projected_vertices).dim() == 2
Check that :trac:`31802` is fixed::
sage: halfspace = Polyhedron(rays=[(0, 0, 1)], lines=[(1, 0, 0), (0, 1, 0)])
Expand Down

0 comments on commit fbd18ca

Please sign in to comment.