The hardware and bandwidth for this mirror is donated by METANET, the Webhosting and Full Service-Cloud Provider.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]metanet.ch.

{tvthemes} 1.0.0

library(tvthemes)
library(ggplot2)

tvthemes 1.0.0 Major Changes

TV Show New Palette(s) New Theme(s)
Game of Thrones Stannis Baratheon, House Martell, House Arryn, House Manderly NA
Kim Possible 1 NA
Big Hero 6 1 NA
Hilda Day, Dusk, Night Day, Dusk, Night
Attack on Titan 1 NA

In addition to the new palettes and themes some of the code in tvthemes has changed significantly.

In palettes for example, when you are calling the palette functions via scale_fill_*() or scale_color_*() you now have a lot more options:

For TV shows with multiple palettes they are now organized under a single “palette list” from which you pass the specific palette that you want. If you want to check out the colors for these specific palettes:

## Previously:
scales::show_col(tvthemes:::lannister_palette)
scales::show_col(tvthemes:::brooklyn99_dark_palette)

## Now:
scales::show_col(tvthemes:::westeros_palette$Lannister)
scales::show_col(tvthemes:::brooklyn99_palette$Dark)

The specific palettes that changed are:

## Plot not shown
ggplot(mpg, aes(displ)) +
  geom_histogram(aes(fill = class), col = "black", size = 0.1) +
  scale_fill_westeros(palette = "Stannis", n = 7, reverse = TRUE)

For themes the one change is a toggle option for axis ticks via ticks which you can set to either TRUE and the default FALSE.

## Plot not shown
ggplot(mpg, aes(displ)) +
  geom_histogram(aes(fill = class), col = "black", size = 0.1) +
  scale_fill_kimPossible(n = 5, reverse = FALSE) +
  theme_hildaDay(ticks = TRUE)

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.