discrete_scale() is called with a named
palette, ready for ggplot2 dropping
scale_name.hp() caches each palette’s colour ramp, so repeated
calls are much faster.option now gives a clear error.house now warns that it is deprecated. It will be
removed in the next release; use option.gridExtra dependency.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.