Skip to content

Color glitches with marker_z and GR backend #5732

@axsk

Description

@axsk

Details

Using Plots.jl from the REPL through the connected VSCode plots pane, after a while my scatter plots colors start to behave strangely, with some points showing in glitchy colors which are not even contained in the palette.

I will attach a screenshot the next time this occurs.

Backends

I observed this bug on GR only, at which point I switch to plotly() which then works.
Switching back to gr() the problem remains.

Versions

Plots.jl version: v1.41.6
Backend version (]st -m <backend(s)>): GR v0.73.24
Output of versioninfo():

Julia Version 1.12.5
Commit 5fe89b8ddc1 (2026-02-09 16:05 UTC)
Build Info:
  Official https://julialang.org release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 128 × AMD EPYC 9334 32-Core Processor
  WORD_SIZE: 64
  LLVM: libLLVM-18.1.7 (ORCJIT, znver4)
  GC: Built with stock GC
Threads: 8 default, 1 interactive, 8 GC (on 128 virtual cores)
Environment:
  JULIA_CUDA_SOFT_MEMORY_LIMIT = 10G
  JULIA_HISTORY = ./.history.jl_

Edit:
Here we have some offending pink in the viridis scheme (the red marker is intentional)

Image

And here some cyan and blue

Image Image

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