Skip to content

Commit a4e28c5

Browse files
committed
Fix the data->arraydata deprecation
1 parent d176536 commit a4e28c5

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/src/function_reference.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ shepp_logan
308308

309309
```@docs
310310
ImageMeta
311-
data
311+
arraydata
312312
properties
313313
copyproperties
314314
shareproperties

docs/src/imagemetadata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,10 +52,10 @@ RGB ImageMeta with:
5252
time: evening
5353
```
5454

55-
You can extract the data matrix with `data(img)`:
55+
You can extract the data matrix with `arraydata(img)`:
5656

5757
```jldoctest
58-
julia> data(img)
58+
julia> arraydata(img)
5959
3×2 Array{RGB{N0f8},2} with eltype RGB{FixedPointNumbers.Normed{UInt8,8}}:
6060
RGB{N0f8}(1.0,0.0,0.0) RGB{N0f8}(1.0,0.0,0.0)
6161
RGB{N0f8}(1.0,0.0,0.0) RGB{N0f8}(1.0,0.0,0.0)

0 commit comments

Comments
 (0)