Legend pops up when changing theme
thomas-neitmann opened this issue · 1 comments
thomas-neitmann commented
Currently, the highlight
feature is implement via scale_fill_manual()
. This has the consequence that when changing the theme a legend pops up. Implementing the highlight feature via scall_fill_identity()
should fix this.
plot <- biomedicalrevenue %>%
filter(year == 2014) %>%
bar_chart(company, revenue, limit = 10, highlight = "Sanofi") %>%
print()
plot + theme_classic()
thomas-neitmann commented