From cac0c8d8d3c1da04552b8c1f7135c946e542c58e Mon Sep 17 00:00:00 2001 From: t-bltg <13423344+t-bltg@users.noreply.github.com> Date: Wed, 28 Jul 2021 12:38:49 +0200 Subject: [PATCH] Gaston: Remove missing debug leftovers --- src/backends/gaston.jl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/backends/gaston.jl b/src/backends/gaston.jl index 0ac8a7b7..3db927a9 100644 --- a/src/backends/gaston.jl +++ b/src/backends/gaston.jl @@ -98,7 +98,7 @@ _display(plt::Plot{GastonBackend}) = display(plt.o) # These functions are gaston specific # -------------------------------------------- -function gaston_get_subplots(plt, n, layout, level) +function gaston_get_subplots(plt, n, layout) nr, nc = size(layout) sps = Array{Any}(undef, nr, nc) for r ∈ 1:nr, c ∈ 1:nc # NOTE: col major @@ -113,14 +113,14 @@ function gaston_get_subplots(plt, n, layout, level) return n, sps end -function gaston_init_subplots(plt, sps, level) +function gaston_init_subplots(plt, sps) sz = nr, nc = size(sps) for c ∈ 1:nc, r ∈ 1:nr # NOTE: row major sp = sps[r, c] if sp isa Subplot || sp === nothing gaston_init_subplot(plt, sp) else - gaston_init_subplots(plt, sp, level + 1) + gaston_init_subplots(plt, sp) sz = max.(sz, size(sp)) end end