Skip to content

Commit 93f8486

Browse files
correct NDBoundingBox docstring example (#1234)
Co-authored-by: Tom Herold <[email protected]>
1 parent 38e3572 commit 93f8486

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

webknossos/webknossos/geometry/nd_bounding_box.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class NDBoundingBox:
5757
Create a 2D bounding box:
5858
```
5959
bbox_1 = NDBoundingBox(
60-
top_left=(0, 0),
60+
topleft=(0, 0),
6161
size=(100, 100),
6262
axes=("x", "y"),
6363
index=(1,2)
@@ -66,7 +66,7 @@ class NDBoundingBox:
6666
Create a 4D bounding box:
6767
```
6868
bbox_2 = NDBoundingBox(
69-
top_left=(75, 75, 75, 0),
69+
topleft=(75, 75, 75, 0),
7070
size=(100, 100, 100, 20),
7171
axes=("x", "y", "z", "t"),
7272
index=(2,3,4,1)

0 commit comments

Comments
 (0)