Open drelatgithub opened 2 years ago
I just found a similar issue #439, where groupedbar
fails with plotly backend. However, the errors reported are different, and I cannot reproduce the error in #439, so I don't think this is a duplicate.
I can confirm I'm seeing this error as well. @BeastyBlacksmith do you have any idea why this error might be backend-specific?
It seems this comes from groupedbar
setting a fillrange for the yerror:
julia> groupedbar(rand(3,1); yerror=rand(3,1))[1][3][:fillrange]
1-element Vector{Int64}:
0
which doesn't make too much sense and is not handled in the plotly backend.
Compare with bar
:
julia> bar(rand(3,1); yerror=rand(3,1))[1][3][:fillrange] # returns nothing
I want to add error bars to a grouped bar chart using
groupedbar
function using the following line.When I use the
gr()
backend, things work okay, as shown in the screenshot.However, if I use the
plotly()
backend, an error is displayed and no plot is produced.Is it a bug, or is there anything I should do to make it work? Thank you!
Julia version 1.7.2 StatsPlots version 0.14.33