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

Barplot colors not working with PGFPlotsX backend #554

Open
blwh opened this issue Apr 12, 2024 · 0 comments
Open

Barplot colors not working with PGFPlotsX backend #554

blwh opened this issue Apr 12, 2024 · 0 comments

Comments

@blwh
Copy link

blwh commented Apr 12, 2024

The argument color does not color the individual bars in a barplot when using the PGFPlotsX backend.

julia> using Plots; pgfplotsx();

julia> plot(1:3, 1:3, color=cgrad(:Set2)[1:3])

produces

image

However, switching to the default backend works.

julia> using Plots;

julia> plot(1:3, 1:3, color=cgrad(:Set2)[1:3])

produces

image

This was tested on Julia 1.9.4, Plots.jl 1.40.3 and StatsPlots.jl 0.15.7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant