From 4b9cfa41493cae39615f1dd13a73f5498e05f60b Mon Sep 17 00:00:00 2001 From: Simon Christ Date: Tue, 3 Mar 2020 23:03:38 +0100 Subject: [PATCH] apply keywords only to inset --- src/recipes.jl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/recipes.jl b/src/recipes.jl index 992c0398..806bbc82 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -945,7 +945,7 @@ export lens! # add subplot for series in sp.series_list @series begin - plotattributes = copy(series.plotattributes) + plotattributes = merge(plotattributes, copy(series.plotattributes)) subplot := lens_index label := "" xlims := (x1, x2) @@ -953,6 +953,10 @@ export lens! () end end + backup = copy(plotattributes) + empty!(plotattributes) + seriestype := :path + series_plotindex := backup[:series_plotindex] end function intersection_point(xA, yA, xB, yB, h, w)