Skip to content

Unwanted colors with zcolor and some color schemes #5215

@PierreBarrat

Description

@PierreBarrat

Details

Unwanted colors in the plots below.
Steps to reproduce: run the cells with n relatively high (1000) and change color gradient each time (tried :bluesreds, :viridis, :blues). The issue occurs after three-four executions.
Lost quite some time on this, and I am still clueless as to what is going on 🤔 Would appreciate some help!

Image Image

Backends

Backend yes no untested
gr (default) x
unicodeplots x
pythonplot x
pgfplotsx x
plotlyjs x
plotly x
gaston x

Versions

Plots.jl version: 1.41.3
Backend version (]st -m <backend(s)>):
Output of versioninfo():

Julia Version 1.12.3
Commit 966d0af0fdf (2025-12-15 11:20 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 20 × 13th Gen Intel(R) Core(TM) i7-13700H
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, alderlake)
  GC: Built with stock GC
Threads: 10 default, 1 interactive, 10 GC (on 20 virtual cores)
Environment:
  JULIA_PKG_DEVDIR =~/Documents/julia/dev
  JULIA_REVISE_WORKER_ONLY = 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions