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

[BUG] GR: surface ignores `clims` and shows wrong colorbar

Open yha opened this issue 4 years ago • 6 comments

surface(1:4, 1:4, *, clims=(-4,4))

The colorbar uses the specified clims, but the surface does not.

Backends

This bug occurs on ( insert x below )

Backend yes no untested
gr (default) x
pyplot x
plotly x
plotlyjs x
pgfplotsx x
inspectdr x

Versions

Plots.jl version: 1.10.3 Backend version (]st -m): GR 0.54.0 Output of versioninfo():

Julia Version 1.5.2
Commit 539f3ce943 (2020-09-23 23:17 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-9.0.1 (ORCJIT, skylake-avx512)
Environment:
  JULIA_EDITOR = "C:\Users\sternlab\AppData\Local\Programs\Microsoft VS Code\Code.exe"
  JULIA_NUM_THREADS = 4

yha avatar Feb 09 '21 16:02 yha

Can't seem to reproduce now.

t-bltg avatar Nov 20 '22 15:11 t-bltg

Still broken here on master: GR: plot_17 PyPlot: plot_18 Plotly: image

(jl_p9GbY9) pkg> status
      Status `C:\Users\sternlab\AppData\Local\Temp\jl_p9GbY9\Project.toml`
  [a03496cd] PlotlyBase v0.8.19
  [91a5bcdd] Plots v1.36.2 `https://github.com/JuliaPlots/Plots.jl.git#master`
  [d330b81b] PyPlot v2.11.0

(jl_p9GbY9) pkg> status -m GR
      Status `C:\Users\sternlab\AppData\Local\Temp\jl_p9GbY9\Manifest.toml`
  [28b8d3ca] GR v0.69.5

julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-9800X CPU @ 3.80GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, skylake-avx512)
Environment:
  JULIA_EDITOR = code
  JULIA_NUM_THREADS = 4

yha avatar Nov 20 '22 16:11 yha

I see. Enhancing the description wouldn't hurt.

t-bltg avatar Nov 20 '22 16:11 t-bltg

Enhancing the description wouldn't hurt.

I've made the title a bit more explicit

yha avatar Nov 21 '22 20:11 yha

Thanks. The images also helped.

t-bltg avatar Nov 21 '22 20:11 t-bltg

Hi, What is the status of this issue?

lupemba avatar Oct 17 '23 14:10 lupemba