Gaston: gaston_init_subplot should accept nothing
This commit is contained in:
parent
74b70fc039
commit
330d3231f6
@ -134,7 +134,7 @@ function gaston_init_subplots(plt, sps)
|
|||||||
return sz
|
return sz
|
||||||
end
|
end
|
||||||
|
|
||||||
function gaston_init_subplot(plt::Plot{GastonBackend}, sp::Subplot{GastonBackend})
|
function gaston_init_subplot(plt::Plot{GastonBackend}, sp::Union{Nothing,Subplot{GastonBackend}})
|
||||||
if sp === nothing
|
if sp === nothing
|
||||||
push!(plt.o.subplots, sp)
|
push!(plt.o.subplots, sp)
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user