From 50f63cf1eb4dfc0246cfba43ded7c08af81f897b Mon Sep 17 00:00:00 2001 From: t-bltg <13423344+t-bltg@users.noreply.github.com> Date: Fri, 25 Jun 2021 15:40:49 +0200 Subject: [PATCH] Ignore :blank plots (#3585) --- src/layouts.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/layouts.jl b/src/layouts.jl index ee984b35..a34c94a8 100644 --- a/src/layouts.jl +++ b/src/layouts.jl @@ -406,7 +406,7 @@ end # ---------------------------------------------------------------------- -calc_num_subplots(layout::AbstractLayout) = 1 +calc_num_subplots(layout::AbstractLayout) = get(layout.attr, :blank, false) ? 0 : 1 function calc_num_subplots(layout::GridLayout) tot = 0 for l in layout.grid