Skip to content

Commit 877ff4a

Browse files
authored
Made an example more illustrative
There is an issue of different canonical image orientations, e.g. https://discourse.julialang.org/t/different-image-orientation-in-images-vs-makie/42288. Making a matrix in this example non-square will alert the reader that Julia orients images (matrices) differently than some other programming environments.
1 parent 3c1fecb commit 877ff4a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/src/tutorials/quickstart.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ make_roi(xs::UnitRange, ys::UnitRange) = make_roi(Point(ys[1], xs[1]), Point(ys[
1717
For most purposes, any `AbstractArray` can be treated as an image. For example, numeric array can be interpreted as a grayscale image.
1818

1919
```@repl array
20-
img = rand(4, 4)
20+
img = rand(4, 3)
2121
```
2222
```@example array
2323
Gray.(img) #hide

0 commit comments

Comments
 (0)