As discussed in #595 (comment) and also highlighted at the end of #347 (comment), we currently do not handle the default color for single-group displays consistently across plot types. Some types use black as the default while others use the first palette color.
tinytheme("clean2")
tinyplot(gear ~ 1, data = mtcars)
tinyplot(factor(gear) ~ 1, data = mtcars)
tinyplot(mpg ~ gear, data = mtcars)
tinyplot(mpg ~ factor(gear), data = mtcars)
To resolve this issue we should probably think about the following two questions:
- Is it sensible to generally use black as the default color for single-group displays?
- If yes, should the black default be used even if the theme specified a different color in its palette?
As discussed in #595 (comment) and also highlighted at the end of #347 (comment), we currently do not handle the default color for single-group displays consistently across plot types. Some types use black as the default while others use the first palette color.
To resolve this issue we should probably think about the following two questions: