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

Global palette should be respected #44

Closed
grantmcdermott opened this issue Jul 25, 2023 · 0 comments · Fixed by #45
Closed

Global palette should be respected #44

grantmcdermott opened this issue Jul 25, 2023 · 0 comments · Fixed by #45

Comments

@grantmcdermott
Copy link
Owner

library(plot2)

par(pch = 16)

# Default "R4" palette
plot2(Sepal.Length ~ Petal.Length | Species, iris)

# Specifying different palette as part of plot call works...
plot2(Sepal.Length ~ Petal.Length | Species, iris, palette = "Tableau 10")

... But setting global palette doesn't
palette("Tableau 10")
plot2(Sepal.Length ~ Petal.Length | Species, iris)

Created on 2023-07-25 with reprex v2.0.2

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

Successfully merging a pull request may close this issue.

1 participant