Skip to content

Color doesn't cycle for lines! followed by scatterlines! #5576

@danielmatz

Description

@danielmatz
  • what version of Makie are you running? (]st -m Makie)

    v0.24.9

  • can you reproduce the bug with a fresh environment ? (]activate --temp; add Makie)

    Yes

  • What platform + GPU are you on?

    macOS, M1

    julia> versioninfo()
    Julia Version 1.12.5
    Commit 5fe89b8ddc1 (2026-02-09 16:05 UTC)
    Build Info:
      Official https://julialang.org release
    Platform Info:
      OS: macOS (arm64-apple-darwin24.0.0)
      CPU: 10 × Apple M1 Pro
      WORD_SIZE: 64
      LLVM: libLLVM-18.1.7 (ORCJIT, apple-m1)
      GC: Built with stock GC
    Threads: 1 default, 1 interactive, 1 GC (on 8 virtual cores)
  • Which backend are you using? (GLMakie, CairoMakie, WGLMakie, RPRMakie)

    GLMakie

  • Please provide a minimal example of the failing code. If the problem is with the visualization, please provide a picture or video of it.

    f = Figure()
    ax = Axis(f[1, 1])
    lines!(ax, [1, 2], [3, 4])
    scatterlines!(ax, [1, 2], [4, 5])

    Note how the colors have not cycled, they are both blue. If I use lines! both times, the colors cycle properly.

    Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions