From f8de0d0e66c137f27a461d7cc443f73ea360b567 Mon Sep 17 00:00:00 2001 From: SimonDanisch Date: Tue, 19 Sep 2023 18:40:40 +0200 Subject: [PATCH] did this time out simply because its slow?! --- .../src/tests/figures_and_makielayout.jl | 15 +++++++++++++++ ReferenceTests/src/tests/primitives.jl | 15 --------------- 2 files changed, 15 insertions(+), 15 deletions(-) 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