Skip to content

Commit

Permalink
correct NDBoundingBox docstring example (#1234)
Browse files Browse the repository at this point in the history
Co-authored-by: Tom Herold <[email protected]>
  • Loading branch information
brokkoli71 and hotzenklotz authored Jan 16, 2025
1 parent 38e3572 commit 93f8486
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions webknossos/webknossos/geometry/nd_bounding_box.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class NDBoundingBox:
Create a 2D bounding box:
```
bbox_1 = NDBoundingBox(
top_left=(0, 0),
topleft=(0, 0),
size=(100, 100),
axes=("x", "y"),
index=(1,2)
Expand All @@ -66,7 +66,7 @@ class NDBoundingBox:
Create a 4D bounding box:
```
bbox_2 = NDBoundingBox(
top_left=(75, 75, 75, 0),
topleft=(75, 75, 75, 0),
size=(100, 100, 100, 20),
axes=("x", "y", "z", "t"),
index=(2,3,4,1)
Expand Down

0 comments on commit 93f8486

Please sign in to comment.