Skip to content

Commit 00e5867

Browse files
committed
Fix some broken doctests
1 parent acf4103 commit 00e5867

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

docs/src/conversions_views.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -395,12 +395,12 @@ julia> a2 = [1.0,2.0]'
395395
julia> a1p, a2p = paddedviews(0, a1, a2); # 0 is the fill value
396396
397397
julia> a1p
398-
2×2 PaddedViews.PaddedView{Int64,2,Tuple{Base.OneTo{Int64},Base.OneTo{Int64}},Array{Int64,2}}:
398+
2×2 PaddedView(0, ::Array{Int64,2}, (Base.OneTo(2), Base.OneTo(2))) with eltype Int64:
399399
1 0
400400
2 0
401401
402402
julia> a2p
403-
2×2 PaddedViews.PaddedView{Float64,2,Tuple{Base.OneTo{Int64},Base.OneTo{Int64}},LinearAlgebra.Adjoint{Float64,Array{Float64,1}}}:
403+
2×2 PaddedView(0.0, ::LinearAlgebra.Adjoint{Float64,Array{Float64,1}}, (Base.OneTo(2), Base.OneTo(2))) with eltype Float64:
404404
1.0 2.0
405405
0.0 0.0
406406
```

docs/src/imagemetadata.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,14 +139,14 @@ Int64 ImageMeta with:
139139
data: 3×5 reshape(::UnitRange{Int64}, 3, 5) with eltype Int64
140140
properties:
141141
maxsum: [42, 45]
142-
spatialproperties: Set(Symbol[:maxsum])
142+
spatialproperties: Set([:maxsum])
143143
144144
julia> imgp = permutedims(img, (2,1))
145145
Int64 ImageMeta with:
146146
data: 5×3 Array{Int64,2}
147147
properties:
148148
maxsum: [45, 42]
149-
spatialproperties: Set(Symbol[:maxsum])
149+
spatialproperties: Set([:maxsum])
150150
151151
julia> maximum(sum(imgp, dims=1))
152152
45

docs/src/indexing.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ julia> summary(img)
3434
"386×386 Array{Gray{N0f8},2} with eltype Gray{Normed{UInt8,8}}"
3535
3636
julia> summary(imgrot)
37-
"OffsetArray(::Array{Gray{N0f8},2}, -59:446, -59:446) with eltype Gray{Normed{UInt8,8}} with indices -59:446×-59:446"
37+
"506×506 OffsetArray(::Array{Gray{N0f8},2}, -59:446, -59:446) with eltype Gray{Normed{UInt8,8}} with indices -59:446×-59:446"
3838
```
3939

4040
While `img` has axes that start with the conventional 1, the

0 commit comments

Comments
 (0)