Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] lower color scale in contourf defaults to white instead of limiting color #5043

Open
lmiq opened this issue Feb 3, 2025 · 0 comments
Labels

Comments

@lmiq
Copy link
Contributor

lmiq commented Feb 3, 2025

Details

If we plot, for example:

julia> using Plots

julia> x, y = 1:10, 1:10; z = 1:100;

julia> contourf(x,y,z; clims=(20, 80))

we get:

Image

Note that in the lower part of the graphic the color is white, for values smaller than that of the
minimum of the color scale. The expected would be, as in top part, to assume the color of the
lower limit of the color scale.

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.9
Backend version (]st -m <backend(s)>):

GR v0.73.12

Output of versioninfo():

julia> versioninfo()
Julia Version 1.11.3
Commit d63adeda50d (2025-01-21 19:42 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 20 × 12th Gen Intel(R) Core(TM) i7-12700F
  WORD_SIZE: 64
  LLVM: libLLVM-16.0.6 (ORCJIT, alderlake)
Threads: 1 default, 0 interactive, 1 GC (on 20 virtual cores)
Environment:
  JULIA_PKG_PRESERVE_TIERED_INSTALLED = true

@lmiq lmiq added the bug label Feb 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant