From d71cb1724ed203a7dcc7efe3183f9990a59c0311 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Thu, 12 Sep 2024 16:22:18 -0700 Subject: [PATCH 1/2] Update AlgebraOfGraphicsExt.jl --- ext/AlgebraOfGraphicsExt.jl | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/ext/AlgebraOfGraphicsExt.jl b/ext/AlgebraOfGraphicsExt.jl index 70e3281..f57c3c0 100644 --- a/ext/AlgebraOfGraphicsExt.jl +++ b/ext/AlgebraOfGraphicsExt.jl @@ -14,14 +14,7 @@ end function AOG.legend_elements(T::Type{Beeswarm}, attributes, scale_args::AOG.MixedArguments) - [Makie.MarkerElement( - color = AOG._get(T, scale_args, attributes, :color), - markerpoints = [Point2f(0.5, 0.5)], - marker = AOG._get(T, scale_args, attributes, :marker), - markerstrokewidth = AOG._get(T, scale_args, attributes, :strokewidth), - markersize = AOG._get(T, scale_args, attributes, :markersize), - markerstrokecolor = AOG._get(T, scale_args, attributes, :strokecolor), - )] + return AOG.legend_elements(Makie.Scatter, attributes, scale_args) # same legend as Scatter end end From 5a15003c9954be091216342bead7db925ff24811 Mon Sep 17 00:00:00 2001 From: Anshul Singhvi Date: Mon, 16 Sep 2024 06:59:53 -0700 Subject: [PATCH 2/2] Update AoG compat --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 804620e..72dcf4a 100644 --- a/Project.toml +++ b/Project.toml @@ -20,7 +20,7 @@ KernelDensity = "0.6" Makie = "0.20, 0.21" StatsBase = "0.34" julia = "1.9" -AlgebraOfGraphics = "0.7, 1" +AlgebraOfGraphics = "0.8" [extras] CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"