Gaston: fix lens example
This commit is contained in:
parent
e2907b973f
commit
34c6c76cb8
@ -23,7 +23,12 @@ function _before_layout_calcs(plt::Plot{GastonBackend})
|
|||||||
# Initialize all the subplots first
|
# Initialize all the subplots first
|
||||||
plt.o.subplots = G.SubPlot[]
|
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)
|
if n != length(plt.subplots)
|
||||||
@error "Gaston: $n != $(length(plt.subplots))"
|
@error "Gaston: $n != $(length(plt.subplots))"
|
||||||
end
|
end
|
||||||
|
|||||||
@ -1252,7 +1252,6 @@ _backend_skips = Dict(
|
|||||||
30, # uses StatsPlots, deprecated ?
|
30, # uses StatsPlots, deprecated ?
|
||||||
31, # animations
|
31, # animations
|
||||||
38, # TODO: support histogram2d
|
38, # TODO: support histogram2d
|
||||||
40, # layout issue
|
|
||||||
47, # TODO: support mesh3d
|
47, # TODO: support mesh3d
|
||||||
48, # TODO: vector of shapes, ...
|
48, # TODO: vector of shapes, ...
|
||||||
49, # TODO: support polar
|
49, # TODO: support polar
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user