Skip to content
Discussion options

You must be logged in to vote

I think this is only valid for the discrete version via na.translate:

na.translate

Unlike continuous scales, discrete scales can easily show missing values, and do so by default. If you want to remove missing values from a discrete scale, specify na.translate = FALSE.

https://ggplot2.tidyverse.org/reference/scale_colour_discrete.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dieghernan
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
ggplot2 📊 ggplot2 functionality and integration q&a ❔ questions about using tidyterra
2 participants