Skip to content

Commit

Permalink
bring beck fewer airports
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonDanisch committed Sep 19, 2023
1 parent f8de0d0 commit fdc363c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions ReferenceTests/src/tests/figures_and_makielayout.jl
Original file line number Diff line number Diff line change
Expand Up @@ -226,12 +226,14 @@ end
end

@reference_test "datashader" begin
fig, ax, ds = datashader(rand(Point2f, 100); async=false)
airports = Point2f.(eachrow(readdlm(assetpath("airportlocations.csv"))))
fewer = airports[RNG.rand(1:length(airports), 1000)]
fig, ax, ds = datashader(fewer; async=false)
Colorbar(fig[1, 2], ds; width=100)
hidedecorations!(ax)
hidespines!(ax)

normaldist = randn(Point2f, 100000)
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))
Expand Down

0 comments on commit fdc363c

Please sign in to comment.