Horizontal key drawing functions from ggstance in case it is deprecated

draw_key_hpath(data, params, size)

draw_key_pointrangeh(data, params, size)

Arguments

data

A single row data frame containing the scaled aesthetics to display in this key

params

A list of additional parameters supplied to the geom.

size

Width and height of key in mm.

Value

A grid grob.