Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Sep 19, 2023
1 parent fdc363c commit 5fe4cc2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ReferenceTests/src/tests/figures_and_makielayout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ end
normaldist = RNG.randn(Point2f, 100000)
ds1 = normaldist .+ (Point2f(-1, 0),)
ds2 = normaldist .+ (Point2f(1, 0),)
ax, pl = datashader(fig[2, :], Dict("a" => ds1, "b" => ds2))
ax, pl = datashader(fig[2, :], Dict("a" => ds1, "b" => ds2); async=false)
hidedecorations!(ax)
axislegend(ax)
fig
Expand Down
2 changes: 1 addition & 1 deletion src/basic_recipes/datashader.jl
Original file line number Diff line number Diff line change
Expand Up @@ -395,7 +395,7 @@ function Makie.plot!(p::DataShader{<: Tuple{<: AbstractVector{<: Point}}})
canvas_with_aggregation[] = canvas
# If not automatic, it will get updated by the above on(p.colorrange)
if p.colorrange[] isa Automatic
colorrange[] = Vec2f(canvas.data_extrema)
colorrange[] = Vec2f(distinct_extrema_nan(canvas.data_extrema))
end
return
end
Expand Down

0 comments on commit 5fe4cc2

Please sign in to comment.