From 4efdb4891eb32710f16b8dd20973f62ee8ba69d5 Mon Sep 17 00:00:00 2001 From: Daniel Krenn Date: Wed, 20 Feb 2019 17:19:59 +0100 Subject: [PATCH] Trac #27329: insert 3 whitespaces (PEP8) --- src/sage/geometry/polyhedron/base.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/sage/geometry/polyhedron/base.py b/src/sage/geometry/polyhedron/base.py index 0544cd38ed0..7416b83b868 100644 --- a/src/sage/geometry/polyhedron/base.py +++ b/src/sage/geometry/polyhedron/base.py @@ -6589,7 +6589,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False, - ``as_affine_map`` (boolean, default = False) -- If ``False``, return a polyhedron. If ``True``, return the affine transformation, that sends the embedded polytope to a fulldimensional one. - It is given as a pair ``(A,b)``, where A is a linear transformation + It is given as a pair ``(A, b)``, where A is a linear transformation and ``b`` is a vector, and the affine transformation sends ``v`` to ``A(v)+b``. @@ -6753,7 +6753,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False, sage: Pentagon = polytopes.dodecahedron().faces(2)[0].as_polyhedron() sage: Pnormal = Pentagon.affine_hull(orthonormal=True, extend=True) sage: Pgonal = Pentagon.affine_hull(orthogonal=True) - sage: A,b = Pentagon.affine_hull(orthogonal = True, as_affine_map=True) + sage: A, b = Pentagon.affine_hull(orthogonal=True, as_affine_map=True) sage: Adet = (A.matrix().transpose()*A.matrix()).det() sage: Pnormal.volume() 1.53406271079097? @@ -6767,7 +6767,7 @@ def affine_hull(self, as_affine_map=False, orthogonal=False, orthonormal=False, An other example with ``as_affine_map=True``:: sage: P = polytopes.permutahedron(4) - sage: A,b = P.affine_hull(orthonormal=True, as_affine_map=True, extend=True) + sage: A, b = P.affine_hull(orthonormal=True, as_affine_map=True, extend=True) sage: Q = P.affine_hull(orthonormal=True, extend=True) sage: Q.center() (0.7071067811865475?, 1.224744871391589?, 1.732050807568878?)