JuliaPlots / StatsPlots.jl

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

`groupedhist` and `groupedbar` `ylims` not working when x and y axis switched. #537

Open babaq opened 1 year ago

babaq commented 1 year ago

This code works fine.

groupedhist(rand(100),xlims=(-1,2),ylims=(-10,40))

but when x/y axis switched, ylims does not change anything.

groupedhist(rand(100),xlims=(-1,2),ylims=(-10,40),permute=(:y,:x))

i tested it on Julia v1.9 with "Plots" v"1.38.11" and "StatsPlots" v"0.15.5", using pyplot backend on win10. This also happens with groupedbar.