diff --git a/src/args.jl b/src/args.jl index 727cc019..a851326a 100644 --- a/src/args.jl +++ b/src/args.jl @@ -2044,7 +2044,6 @@ function _update_subplot_args( _update_subplot_periphery(sp, anns) _update_subplot_colors(sp) - _update_subplot_legend(sp, plotattributes_in) lims_warned = false for letter in (:x, :y, :z) diff --git a/src/pipeline.jl b/src/pipeline.jl index 5fbe7bd5..6bf84925 100644 --- a/src/pipeline.jl +++ b/src/pipeline.jl @@ -263,6 +263,7 @@ function _subplot_setup(plt::Plot, plotattributes::AKW, kw_list::Vector{KW}) get(sp_attrs, sp, KW()) end _update_subplot_args(plt, sp, attr, idx, false) + _update_subplot_legend(sp, attr) end # do we need to link any axes together?