Merge pull request #1114 from mkborregaard/fix-1113

Don't delete attr when `plot(::Plot)` - fix #1113
This commit is contained in:
Michael Krabbe Borregaard 2017-09-29 08:34:44 +02:00 committed by GitHub
commit 913fdf5247

View File

@ -84,7 +84,7 @@ function plot(plt1::Plot, plts_tail::Plot...; kw...)
# TODO: replace this with proper processing from a merged user_attr KW
# update plot args, first with existing plots, then override with d
for p in plts
_update_plot_args(plt, p.attr)
_update_plot_args(plt, copy(p.attr))
plt.n += p.n
end
_update_plot_args(plt, d)