Skip to content

Commit 6d3ffc9

Browse files
committed
Blackify
1 parent 022ec50 commit 6d3ffc9

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

sectionproperties/pre/geometry.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,9 @@ def align_to(
479479

480480
return new_geom
481481

482-
def align_center(self, align_to: Optional[Union[Geometry, Tuple[float, float]]] = None):
482+
def align_center(
483+
self, align_to: Optional[Union[Geometry, Tuple[float, float]]] = None
484+
):
483485
"""
484486
Returns a new Geometry object, translated in both x and y, so that the
485487
the new object's centroid will be aligned with the centroid of the object
@@ -1575,7 +1577,7 @@ def align_center(
15751577
"""
15761578
Returns a new CompoundGeometry object, translated in both x and y, so that the
15771579
center-point of the new object's material-weighted centroid will be aligned with
1578-
centroid of the object in 'align_to'. If 'align_to' is an x, y coordinate, then
1580+
centroid of the object in 'align_to'. If 'align_to' is an x, y coordinate, then
15791581
the centroid will be aligned to the coordinate. If 'align_to' is None then the new
15801582
object will be aligned with its centroid at the origin.
15811583

0 commit comments

Comments
 (0)