JuliaPlots / StatsPlots.jl

Statistical plotting recipes for Plots.jl
Other
436 stars 88 forks source link

kwagrs splatting does not work for errorline #541

Open bhatiaabhinav opened 1 year ago

bhatiaabhinav commented 1 year ago

The following works fine:

errorline(1:10, rand(10, 2), label="hi")

But the following does not. The label appears as "y1" instead of "hi".

kwargs = Dict(:label => "hi")
errorline(1:10, rand(10, 2), kwargs...)

Similarly, passing :errorstyle directly works fine, but passing it using kwargs has no effect.