Gaston: fix lens example

This commit is contained in:
t-bltg 2021-07-28 18:02:41 +02:00
parent e2907b973f
commit 34c6c76cb8
2 changed files with 6 additions and 2 deletions

View File

@ -23,7 +23,12 @@ function _before_layout_calcs(plt::Plot{GastonBackend})
# Initialize all the subplots first
plt.o.subplots = G.SubPlot[]
n, sps = gaston_get_subplots(plt, 0, plt.layout)
n1, sps = gaston_get_subplots(plt, 0, plt.layout, :inset_subplots)
gaston_init_subplots(plt, sps)
n2, sps = gaston_get_subplots(plt, 0, plt.layout, :subplots)
n = n1 + n2
if n != length(plt.subplots)
@error "Gaston: $n != $(length(plt.subplots))"
end

View File

@ -1252,7 +1252,6 @@ _backend_skips = Dict(
30, # uses StatsPlots, deprecated ?
31, # animations
38, # TODO: support histogram2d
40, # layout issue
47, # TODO: support mesh3d
48, # TODO: vector of shapes, ...
49, # TODO: support polar