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
This gives command to be used in layout: grid(4, 2, heights=[0.3, 0.3, 0.3, 0.1]), returns an error because, due to numerical approximation, it does not literally sum up to one.: ERROR: The sum of heights must be 1!.
I tried this: grid(4, 2, heights=[0.3, 0.3, 0.3, 0.1 + 1e-16]) and now works, but would be nice to make an approximate comparison.
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.5
Backend version (]st -m <backend(s)>): GR v0.73.5
Output of versioninfo():
Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU: 10 × Apple M1 Max
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
DYLD_LIBRARY_PATH = /boost_1_60_0/stage/lib:
The text was updated successfully, but these errors were encountered:
Details
This gives command to be used in layout:
grid(4, 2, heights=[0.3, 0.3, 0.3, 0.1])
, returns an error because, due to numerical approximation, it does not literally sum up to one.:ERROR: The sum of heights must be 1!
.I tried this:
grid(4, 2, heights=[0.3, 0.3, 0.3, 0.1 + 1e-16])
and now works, but would be nice to make an approximate comparison.Backends
This bug occurs on ( insert
x
below )Versions
Plots.jl version: v1.40.5
Backend version (
]st -m <backend(s)>
): GR v0.73.5Output of
versioninfo()
:Julia Version 1.10.4
Commit 48d4fd48430 (2024-06-04 10:41 UTC)
Build Info:
Official https://julialang.org/ release
Platform Info:
OS: macOS (arm64-apple-darwin22.4.0)
CPU: 10 × Apple M1 Max
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-15.0.7 (ORCJIT, apple-m1)
Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores)
Environment:
DYLD_LIBRARY_PATH = /boost_1_60_0/stage/lib:
The text was updated successfully, but these errors were encountered: