Skip to content

Commit 965523c

Browse files
committed
Change colors to grayscale for wordcloud
1 parent 7aa08b5 commit 965523c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

02-sentiment-analysis.Rmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ tidy_books %>%
252252
inner_join(get_sentiments("bing")) %>%
253253
count(word, sentiment, sort = TRUE) %>%
254254
acast(word ~ sentiment, value.var = "n", fill = 0) %>%
255-
comparison.cloud(colors = c("#F8766D", "#00BFC4"),
255+
comparison.cloud(colors = c("gray20", "gray80"),
256256
max.words = 100)
257257
```
258258

0 commit comments

Comments
 (0)