Skip to content

Commit

Permalink
add missing axis args
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaqz committed Oct 22, 2023
1 parent b43bc14 commit 95c73c9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ext/DimensionalDataMakie.jl
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ for (f1, f2) in _paired(:plot => :heatmap, :heatmap, :image, :contour, :contourf
replacements = _keywords2dimpairs(x, y)
_, _, args, _ = _surface2(A, attributes, replacements)
# No ColourBar in the ! in-place versions
return Makie.$f2!(args...; attributes...)
return Makie.$f2!(axis, args...; attributes...)
end
end
end
Expand Down Expand Up @@ -259,7 +259,7 @@ function Makie.series(A::AbstractDimArray{<:Any,2};
end
function Makie.series!(axis, A::AbstractDimArray{<:Any,2}; axislegendkw=(;), labeldim=nothing, attributes...)
args, _ = _series(A, attributes, labeldim)
return Makie.series!(args...; attributes...)
return Makie.series!(axis, args...; attributes...)
end

function _series(A, attributes, labeldim)
Expand Down

0 comments on commit 95c73c9

Please sign in to comment.