Don't delete attr when plot(::Plot) - fix #1113

This commit is contained in:
Michael K. Borregaard 2017-09-28 23:32:25 +02:00
parent fba1c66499
commit 650c1730c9

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)