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] Marker color is wrong when using seriestype = :step #4894

Open
baggepinnen opened this issue Feb 27, 2024 · 0 comments
Open

[BUG] Marker color is wrong when using seriestype = :step #4894

baggepinnen opened this issue Feb 27, 2024 · 0 comments
Labels

Comments

@baggepinnen
Copy link
Contributor

Compare the following two plots

plot(
    plot(rand(10, 3), marker=5),
    plot(rand(10, 3), marker=5, seriestype=:steps),
)

image

the presence of seriestype=:steps makes the marker color different from the line color. Additionally, the marker is not shown in the legend when using :steps

Backends

This bug occurs on ( insert x below )

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

Versions

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

julia> versioninfo()
Julia Version 1.10.1
Commit 7790d6f0641 (2024-02-13 20:41 UTC)
Build Info:
  Official https://julialang.org/ release
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 24 × AMD Ryzen 9 5900X 12-Core Processor
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-15.0.7 (ORCJIT, znver3)
Threads: 12 default, 0 interactive, 6 GC (on 24 virtual cores)
Environment:
  JULIA_NUM_THREADS = 12
  JULIA_EDITOR = code
  JULIA_SSH_NO_VERIFY_HOSTS = gitlab.cognibotics.net
  JULIA_PKG_PRECOMPILE_AUTO = 1
  JULIA_NUM_PRECOMPILE_TASKS = 22
  JULIA_PKG_USE_CLI_GIT = true
  JULIA_CONDAPKG_BACKEND = Null
  JULIA_PYTHONCALL_EXE = python3
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