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
When plotting a horizontal bar plot with permute the plot is not centered; the bars run to the edges and bar_edges does not seem to have any effect. Plots can be adjusted with ylims! but this would become tedious when refreshing data or making new plots.
Backends
This bug occurs on ( insert x below )
Backend
yes
no
untested
gr (default)
x
pythonplot
x
plotlyjs
x
pgfplotsx
x
unicodeplots
x
inspectdr
x
gaston
x
Versions
Plots.jl version: v1.40.4
Backend version (]st -m <backend(s)>):
Output of versioninfo():
Julia Version 1.10.3
Commit 0b4590a550 (2024-04-30 10:59 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 20 × 13th Gen Intel(R) Core(TM) i7-1370P
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 20 virtual cores)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
The text was updated successfully, but these errors were encountered:
This error arrises due to the permutation not correctly permuting the widen tags of the axis.
The widen tags are set during the recipe pipeline, and set to auto for the xaxis and false for the yaxis, however the axis do get switched due to the permute.
For now a workaround is to pass plt = histrogram(x; permute(:x, :y), widen=false) (easiest)
or plt = histogram(x; permute=(:x, :y), ywiden=false, xwiden=true) (contains the permutation bug; prob. breaks once the bug is fixed)
Details
When plotting a horizontal bar plot with permute the plot is not centered; the bars run to the edges and bar_edges does not seem to have any effect. Plots can be adjusted with ylims! but this would become tedious when refreshing data or making new plots.
Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version: v1.40.4
Backend version (
]st -m <backend(s)>
):Output of
versioninfo()
:Julia Version 1.10.3
Commit 0b4590a550 (2024-04-30 10:59 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: 20 × 13th Gen Intel(R) Core(TM) i7-1370P
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, goldmont)
Threads: 1 default, 0 interactive, 1 GC (on 20 virtual cores)
Environment:
JULIA_EDITOR = code
JULIA_NUM_THREADS =
The text was updated successfully, but these errors were encountered: