apply keywords only to inset

This commit is contained in:
Simon Christ 2020-03-03 23:03:38 +01:00
parent fa4db319cf
commit 4b9cfa4149

View File

@ -945,7 +945,7 @@ export lens!
# add subplot # add subplot
for series in sp.series_list for series in sp.series_list
@series begin @series begin
plotattributes = copy(series.plotattributes) plotattributes = merge(plotattributes, copy(series.plotattributes))
subplot := lens_index subplot := lens_index
label := "" label := ""
xlims := (x1, x2) xlims := (x1, x2)
@ -953,6 +953,10 @@ export lens!
() ()
end end
end end
backup = copy(plotattributes)
empty!(plotattributes)
seriestype := :path
series_plotindex := backup[:series_plotindex]
end end
function intersection_point(xA, yA, xB, yB, h, w) function intersection_point(xA, yA, xB, yB, h, w)