diff --git a/src/recipes.jl b/src/recipes.jl index 8ce87bcc..ef045446 100644 --- a/src/recipes.jl +++ b/src/recipes.jl @@ -1042,11 +1042,7 @@ export lens! series_plotindex := backup[:series_plotindex] seriestype := :path primary := false - if haskey(backup, :linecolor) - linecolor := backup[:linecolor] - else - linecolor := :lightgray - end + linecolor := get(backup, :linecolor, :lightgray) if haskey(backup, :linestyle) linestyle := backup[:linestyle] end