From fe8d08123c23977bd9d29b781d2cdf22b01308f2 Mon Sep 17 00:00:00 2001 From: t-bltg <13423344+t-bltg@users.noreply.github.com> Date: Sun, 1 Aug 2021 16:00:43 +0200 Subject: [PATCH] Gaston: fix wrong series_list causing segfault --- src/backends/gaston.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/gaston.jl b/src/backends/gaston.jl index 2ef6daa2..a528da7a 100644 --- a/src/backends/gaston.jl +++ b/src/backends/gaston.jl @@ -132,7 +132,7 @@ function gaston_init_subplot(plt::Plot{GastonBackend}, sp::Union{Nothing,Subplot else dims = RecipesPipeline.is3d(sp) || sp.attr[:projection] == "3d" || needs_any_3d_axes(sp) ? 3 : 2 any_label = false - for series ∈ plt.series_list + for series ∈ series_list(sp) if dims == 2 && series[:seriestype] ∈ (:heatmap, :contour) dims = 3 # we need heatmap/contour to use splot, not plot end