diff --git a/ext/RastersCoordinateTransformationsExt/affineprojected.jl b/ext/RastersCoordinateTransformationsExt/affineprojected.jl index 48ab1e65d..62cf18c6d 100644 --- a/ext/RastersCoordinateTransformationsExt/affineprojected.jl +++ b/ext/RastersCoordinateTransformationsExt/affineprojected.jl @@ -90,7 +90,7 @@ function Base.show(io::IO, mime::MIME"text/plain", lookup::AffineProjected) end end -function RA.maybe_resample(l::AffineProjected, A) +function RA._maybe_resample(l::AffineProjected, A) res = Y(abs(l.affinemap.linear[1, 1])), X(abs(l.affinemap.linear[2, 2])) A = resample(A, res) end diff --git a/src/plotrecipes.jl b/src/plotrecipes.jl index 9d437e63f..085d89854 100644 --- a/src/plotrecipes.jl +++ b/src/plotrecipes.jl @@ -332,7 +332,7 @@ function _makie_not_implemented_error(t, r::AbstractRaster{T,N}) where {T,N} end _prepare_makie(A) = - replace_missing(read(_missing_or_float32.(_reorder(A))); missingval=NaN32) + _reorder(read(_missing_or_float32.(replace_missing(A; missingval=NaN32)))) # initial definitions of `rplot`, to get around the extension package availability question