Ignore :blank plots (#3585)

This commit is contained in:
t-bltg 2021-06-25 15:40:49 +02:00 committed by GitHub
parent 2b22dae757
commit 50f63cf1eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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