From 8667bba73468b4389ad60310c84dbcc4a43d1053 Mon Sep 17 00:00:00 2001 From: Nathan Musoke Date: Mon, 6 May 2024 16:13:34 -0400 Subject: [PATCH] fix: `resolution` -> `size` Makie v0.20.0 deprecated the `resolution` argument, replacing it with `size` [1]. This causes Makie to emit deprecation warnings when a theme from TuePlots is loaded. Change that argument in TuePlots too. [1]: https://github.com/MakieOrg/Makie.jl/releases/tag/v0.20.0 --- src/to_makie.jl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/to_makie.jl b/src/to_makie.jl index b3478db..b68eeee 100644 --- a/src/to_makie.jl +++ b/src/to_makie.jl @@ -79,8 +79,8 @@ function MakieCore.Theme( end width *= width_coeff height = width * subplot_height_to_width_ratio * nrows / ncols - resolution = (width * POINTS_PER_INCH, height * POINTS_PER_INCH) - theme = merge(MakieCore.Theme(resolution = resolution), theme) + size = (width * POINTS_PER_INCH, height * POINTS_PER_INCH) + theme = merge(MakieCore.Theme(size = size), theme) end if thinned