Now 'option' is the first parameter on scale_fill_hp()
and scale_colour_hp()
. As it is the most common specified parameter, this change makes its use more natural and easy.
New gryffindor2
palette available.
Now you can check all the names of available palettes by typing names(hp_palettes)
.
house
argument is officially deprecated. New argument option
should be used instead. Functionality is absolutely equal. This change adds consistency with other similar packages and opens the possibility to add more palette options, outside the Hogwarts Houses. _d()
functions. Now they work properly.hpMap
. hp_palettes()
that outputs all palettes' name. Very handy if you don't remember them.movie
argument works no longer. It is replaced by house
.scale_fill_hp_d()
as shortcut for scale_fill_hp(discrete = TRUE)
. Same with colour
instead of fill
.Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.