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
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)