Closed
Description
library(tidyverse)
library(palmerpenguins)
#>
#> Attaching package: 'palmerpenguins'
#> The following objects are masked from 'package:datasets':
#>
#> penguins, penguins_raw
#works
ggplot(mpg, aes(displ, hwy, colour = displ)) +
geom_point() +
theme(palette.fill.continuous = viridis::rocket(9)) +
theme(palette.colour.continuous = viridis::rocket(9))
#doesn't work
ggplot(mpg, aes(displ, hwy, colour = displ)) +
geom_point() +
theme(palette.colour.continuous = viridis::rocket(9)) +
theme(palette.fill.continuous = viridis::rocket(9))
Created on 2025-05-06 with reprex v2.1.1
Metadata
Metadata
Assignees
Labels
No labels