Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Jul 29, 2023
1 parent 2a76794 commit ea31cbd
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/RastersCoordinateTransformationsExt/affineprojected.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion src/plotrecipes.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit ea31cbd

Please sign in to comment.