You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
library(ggthemr)
ggthemr("dust")
ggthemr_reset()
# does not worktb %>%
ggplot(aes(x, y, color=x)) +
geom_point()
# Error: Your data requires 9 colours but the swatch provided by ggthemr only has 8. To resolve this you can provide an appropriate # vector of colours to your scale or expand the swatch using set_swatch(). Note: if you are using a custom palette, the first swatch colour # is separate from the others. See the documentation for define_palette() and/or set_swatch()
still does not work
pacman::p_unload("ggthemr")
tb %>%
ggplot(aes(x, y, color=x)) +
geom_point()
# Error: Your data requires 9 colours but the swatch provided by ggthemr only has 8. To resolve this you can provide an appropriate # vector of colours to your scale or expand the swatch using set_swatch(). Note: if you are using a custom palette, the first swatch colour # is separate from the others. See the documentation for define_palette() and/or set_swatch()
The text was updated successfully, but these errors were encountered:
Matt-Int
added a commit
to Matt-Int/ggthemr
that referenced
this issue
May 7, 2022
Looks like the reset function didn't reset the appropriate options, hence why unloading the namespace also didn't work. I've fixed that in #56, in the meantime you can manually reset the options:
The old problem did not appear, but the new problem appeared.
but,after load ggthemr
still does not work
The text was updated successfully, but these errors were encountered: