You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wasn't sure if I should post this here or StatsPlots, but this issue is the same as in JuliaPlots/Plots.jl#3574.
If you add numbers to each bar in groupedbar, it always repeats the numbers of the first group. The error was reproduced in pgfplotsx, pyplot, gr, and plotly as backends.
MWE:
using StatsPlots
x=["A","A","B","B"]
y=[1,2,3,4]
year=["2020","2021","2020","2021"]
groupedbar(x,y,group=year,bar_width=0.7,series_annotations=y)
which gives as result
The location of the annotation is also wrong, (which is the same as issue JuliaPlots/Plots.jl#3574). I've been using the following workaround, and the problem is the same.
I wasn't sure if I should post this here or StatsPlots, but this issue is the same as in JuliaPlots/Plots.jl#3574.
If you add numbers to each bar in groupedbar, it always repeats the numbers of the first group. The error was reproduced in pgfplotsx, pyplot, gr, and plotly as backends.
MWE:
which gives as result
The location of the annotation is also wrong, (which is the same as issue JuliaPlots/Plots.jl#3574). I've been using the following workaround, and the problem is the same.
which gives
The text was updated successfully, but these errors were encountered: