USGS-R / gsplot

plotting foundation for timeseries reporting
Other
6 stars 14 forks source link

Theme #385

Closed ldecicco-USGS closed 7 years ago

ldecicco-USGS commented 8 years ago
gs <- gsplot(theme="hadley") %>%
      points(1:10, 1:10, legend.name="cool")

the theme will pre-set things like axis, grid, bgCol etc, and call a new config.yaml.

jordansread commented 8 years ago

can't wait to try this one out!

lindsayplatt commented 7 years ago

Forcing certain gsplot calls:

Have some themes available Allow users to make their own theme

Combination of gsplot object & config But start with just a gsplot object w/ class Later on we can add more unique ability

Theme can call a config file (theme contains config) Specify theme, then a config. A user config should override a theme's config (not auto config)

ldecicco-USGS commented 7 years ago

need to change the themes to background_color (currently still bgCol). Also, seems like there's a new issue with grid + background_color. I'll try to take care of while confirming this issues is good.

lindsayplatt commented 7 years ago

what PR closed this?

ldecicco-USGS commented 7 years ago

435