Mikata-Project / ggthemr

Themes for ggplot2.
893 stars 108 forks source link

Gradient colors not properly set in legend #26

Closed MathieuMarauri closed 6 years ago

MathieuMarauri commented 6 years ago

Hello,

I a using your package to define my own theme and palette and I ecnountered what seems to be an issue. The legend for continuous gradient is set as it was discrete.

Here is an example code.

library('ggthemr')
ggthemr('dust')

ggplot(iris, aes(Sepal.Width, Sepal.Length, color = Sepal.Length)) +
  geom_point(size = 4, alpha = .6)

Thank you for your work,

Mathieu

sainathadapa commented 6 years ago

Thanks for reporting the issue. The bug should be fixed now.