Skip to content

Commit

Permalink
did this time out simply because its slow?!
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Sep 19, 2023
1 parent a13e262 commit f8de0d0
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 15 deletions.
15 changes: 15 additions & 0 deletions ReferenceTests/src/tests/figures_and_makielayout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
15 changes: 0 additions & 15 deletions ReferenceTests/src/tests/primitives.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit f8de0d0

Please sign in to comment.