diff --git a/ReferenceTests/src/tests/figures_and_makielayout.jl b/ReferenceTests/src/tests/figures_and_makielayout.jl index 98557769540..88828000dbe 100644 --- a/ReferenceTests/src/tests/figures_and_makielayout.jl +++ b/ReferenceTests/src/tests/figures_and_makielayout.jl @@ -224,3 +224,18 @@ end fig end + +@reference_test "datashader" begin + fig, ax, ds = datashader(rand(Point2f, 100); async=false) + Colorbar(fig[1, 2], ds; width=100) + hidedecorations!(ax) + hidespines!(ax) + + normaldist = randn(Point2f, 100000) + ds1 = normaldist .+ (Point2f(-1, 0),) + ds2 = normaldist .+ (Point2f(1, 0),) + ax, pl = datashader(fig[2, :], Dict("a" => ds1, "b" => ds2)) + hidedecorations!(ax) + axislegend(ax) + fig +end diff --git a/ReferenceTests/src/tests/primitives.jl b/ReferenceTests/src/tests/primitives.jl index f965feface9..dbc411ac2d0 100644 --- a/ReferenceTests/src/tests/primitives.jl +++ b/ReferenceTests/src/tests/primitives.jl @@ -457,18 +457,3 @@ end fig end - -@reference_test "datashader" begin - airports = Point2f.(eachrow(readdlm(Makie.assetpath("airportlocations.csv")))) - fig, ax, ds = datashader(airports, async = false) - Colorbar(fig[1, 2], ds, width=100) - hidedecorations!(ax); hidespines!(ax) - - normaldist = randn(Point2f, 1_000_000) - ds1 = normaldist .+ (Point2f(-1, 0),) - ds2 = normaldist .+ (Point2f(1, 0),) - ax, pl = datashader(fig[2, :], Dict("a" => ds1, "b" => ds2)) - hidedecorations!(ax) - axislegend(ax) - fig -end