From 8ed2b395b7def38de6667cf8a44b5ab58af4293e Mon Sep 17 00:00:00 2001 From: Frederik Banning Date: Thu, 30 Nov 2023 14:53:28 +0100 Subject: [PATCH 1/5] Increment Makie version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 54ca59e..21d0538 100644 --- a/Project.toml +++ b/Project.toml @@ -15,4 +15,4 @@ julia = "1.6" GraphMakie = "0.5" Graphs = "1.5" LightOSM = "0.2" -Makie = "0.19" +Makie = "0.20" From 5b63f8be2c070d34dc6952a9040b29516efc3791 Mon Sep 17 00:00:00 2001 From: Frederik Banning Date: Thu, 30 Nov 2023 14:53:56 +0100 Subject: [PATCH 2/5] Change resolution kwarg to size --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index a45e2b5..55c78ca 100644 --- a/README.md +++ b/README.md @@ -83,8 +83,8 @@ download_osm_buildings(:bbox; buildings = buildings_from_file("london_buildings.osm"); # plot London map with buildings -# also directly provide a figure resolution and limits for the plot -fig = Figure(; resolution = (1000,900)) +# also directly provide a figure size and limits for the plot +fig = Figure(; size = (1000,900)) ax = fig[1,1] = Axis(fig; limits = ((area.minlon, area.maxlon), (area.minlat, area.maxlat)), autolimitaspect From 8cd23974a1fc144bdab6cac9cbf6dc88fffda306 Mon Sep 17 00:00:00 2001 From: Frederik Banning Date: Thu, 30 Nov 2023 15:12:55 +0100 Subject: [PATCH 3/5] Increment patch version --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 21d0538..1dd697c 100644 --- a/Project.toml +++ b/Project.toml @@ -2,7 +2,7 @@ name = "OSMMakie" uuid = "76b6901f-8821-46bb-9129-841bc9cfe677" repo = "https://github.com/MakieOrg/OSMMakie.jl" authors = ["Frederik Banning "] -version = "0.0.7" +version = "0.0.8" [deps] GraphMakie = "1ecd5474-83a3-4783-bb4f-06765db800d2" From 11098482160ae3985e6c0ba9809f614ef0be46a2 Mon Sep 17 00:00:00 2001 From: Frederik Banning Date: Thu, 30 Nov 2023 15:26:03 +0100 Subject: [PATCH 4/5] Update error type in test --- test/runtests.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/runtests.jl b/test/runtests.jl index 9ff6db8..66efe14 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -33,7 +33,7 @@ buildings = buildings_from_file(london_buildings); end # wrong recipe usage - @test_throws Makie.PlotMethodError osmplot(; osm) + @test_throws ErrorException osmplot(; osm) @test begin # recipe with buildings and limits/autolimitaspect keywords fig = Figure() From 6c361cc2a59678470bf79bdeb1fa392df6cffda4 Mon Sep 17 00:00:00 2001 From: Frederik Banning Date: Thu, 30 Nov 2023 15:26:33 +0100 Subject: [PATCH 5/5] Also ignore .osm files --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index 494bb06..ded8094 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ *.json +*.osm Manifest.toml *.code-workspace