Plots.jl icon indicating copy to clipboard operation
Plots.jl copied to clipboard

[BUG] Heatmap colorbar ticks with many digits get clipped

Open orswan opened this issue 8 months ago • 0 comments

Details

Working in Jupyter, heatmap colorbar tick labels can be clipped when they have many digits. It seems mainly to be a problem for negative values. Here's a simple example: heatmap((rand(128,512) .- 0.5)*0.001,size=(800,200)) Image: image

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)>): v0.72.8

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: 12 × 12th Gen Intel(R) Core(TM) i5-12450H
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, alderlake)
Threads: 1 default, 0 interactive, 1 GC (on 12 virtual cores)

orswan avatar Jun 19 '24 23:06 orswan