diff --git a/CHANGELOG.md b/CHANGELOG.md index a0fd97bb431..0b3a95e31f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ## [0.21.11] - 2024-09-13 - Hot fixes for 0.21.10 [#4356](https://github.com/MakieOrg/Makie.jl/pull/4356). +- Set `Voronoiplot`'s preferred axis type to 2D in all cases [#4349](https://github.com/MakieOrg/Makie.jl/pull/4349) ## [0.21.10] - 2024-09-12 @@ -16,8 +17,8 @@ - Fix gl_ClipDistance related segfault on WSL with GLMakie [#4270](https://github.com/MakieOrg/Makie.jl/pull/4270). - Added option `label_position = :center` to place labels centered over each bar [#4274](https://github.com/MakieOrg/Makie.jl/pull/4274). - `plotfunc()` and `func2type()` support functions ending with `!` [#4275](https://github.com/MakieOrg/Makie.jl/pull/4275). -- Fixed Boundserror in clipped multicolor lines in CairoMakie [#4313](https://github.com/MakieOrg/Makie.jl/pull/4313). -- Fix float precision based assertions error in GLMakie.volume [#4311](https://github.com/MakieOrg/Makie.jl/pull/4311). +- Fixed Boundserror in clipped multicolor lines in CairoMakie [#4313](https://github.com/MakieOrg/Makie.jl/pull/4313) +- Fix float precision based assertions error in GLMakie.volume [#4311](https://github.com/MakieOrg/Makie.jl/pull/4311) ## [0.21.9] - 2024-08-27 diff --git a/src/basic_recipes/voronoiplot.jl b/src/basic_recipes/voronoiplot.jl index 94dae4a197a..48ce36ee476 100644 --- a/src/basic_recipes/voronoiplot.jl +++ b/src/basic_recipes/voronoiplot.jl @@ -36,6 +36,8 @@ DelaunayTriangulation.jl. MakieCore.mixin_colormap_attributes()... end +preferred_axis_type(::Voronoiplot) = Axis + function _clip_polygon(poly::Polygon, circle::Circle) # Sutherland-Hodgman adjusted @assert isempty(poly.interiors) "Polygon must not have holes for clipping."