Skip to content

Commit 24e0133

Browse files
authored
Fix grid size in README (#321)
`imshow_gui` specifies that `gridsize = (nx, ny)`, meaning (columns, rows). One of the uses in the README had it reversed.
1 parent afd9c47 commit 24e0133

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ change in the other.
186186
Alternatively, you can place both displays in a single window:
187187
```julia
188188
zr, slicedata = roi(mri, (1,2))
189-
gd = imshow_gui((200, 200), (1,2); slicedata=slicedata)
189+
gd = imshow_gui((200, 200), (2, 1); slicedata=slicedata)
190190
imshow(gd["frame"][1,1], gd["canvas"][1,1], mri, nothing, zr, slicedata)
191191
imshow(gd["frame"][1,2], gd["canvas"][1,2], mriseg, nothing, zr, slicedata)
192192
```

0 commit comments

Comments
 (0)