Skip to content

Commit e3d30a0

Browse files
authored
Fix invalid escape in BoundingBox docstring
2 parents 2cd3f53 + 0f5d651 commit e3d30a0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

textractor/entities/bbox.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ def __init__(self, width: float, height: float):
3131
class BoundingBox(SpatialObject):
3232
"""
3333
Represents the bounding box of an object in the format of a dataclass with (x, y, width, height). \
34-
By default :class:`BoundingBox` is set to work with denormalized co-ordinates: :math:`x \in [0, docwidth]` and :math:`y \in [0, docheight]`. \
35-
Use the as_normalized_dict function to obtain BoundingBox with normalized co-ordinates: :math:`x \in [0, 1]` and :math:`y \in [0, 1]`. \\
34+
By default :class:`BoundingBox` is set to work with denormalized co-ordinates: :math:`x \\in [0, docwidth]` and :math:`y \\in [0, docheight]`. \
35+
Use the as_normalized_dict function to obtain BoundingBox with normalized co-ordinates: :math:`x \\in [0, 1]` and :math:`y \\in [0, 1]`. \\
3636
3737
Create a BoundingBox like shown below: \\
3838

0 commit comments

Comments
 (0)