JuliaPlots/Plots.jl

Legend entries are in wrong order for areaplot

Open

#5 029 ouverte le 18 nov. 2024

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Julia (381 forks)batch import
good first issue

Métriques du dépôt

Stars
 (1 943 stars)
Métriques de merge PR
 (Merge moyen 13j 6h) (2 PRs mergées en 30 j)

Description

Details

using Plots
x=1:10
y=[11:20 16:25]
areaplot(x,y)

==> The order of the colors in the legend appear upside down compared to the order used in the chart.

Backends

This bug occurs on :

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 : GR v0.73.8

Julia Version 1.11.1 Commit 8f5b7ca12ad (2024-10-16 10:53 UTC) Build Info: Official https://julialang.org/ release Platform Info: OS: Linux (x86_64-linux-gnu) CPU: 8 × 11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz WORD_SIZE: 64 LLVM: libLLVM-16.0.6 (ORCJIT, tigerlake) Threads: 1 default, 0 interactive, 1 GC (on 8 virtual cores) Environment: JULIA_EDITOR = code JULIA_NUM_THREADS =

Guide contributeur