JuliaPlots/Plots.jl

Legend entries are in wrong order for areaplot

Open

#5.029 aberto em 18 de nov. de 2024

Ver no GitHub
 (0 comments) (0 reactions) (0 assignees)Julia (381 forks)batch import
good first issue

Métricas do repositório

Stars
 (1.943 stars)
Métricas de merge de PR
 (Mesclagem média 13d 6h) (2 fundiu PRs em 30d)

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 =

Guia do colaborador