def area_pal(range=(<NUM_LIT:1>, <NUM_LIT:6>)):
def area_palette(x):<EOL><INDENT>return rescale(np.sqrt(x), to=range, _from=(<NUM_LIT:0>, <NUM_LIT:1>))<EOL><DEDENT>return area_palette<EOL>
Point area palette (continuous).

Parameters
----------
range : tuple
    Numeric vector of length two, giving range of possible sizes.
    Should be greater than 0.

Returns
-------
out : function
    Palette function that takes a sequence of values
    in the range ``[0, 1]`` and returns values in
    the specified range.

Examples
--------
>>> x = np.arange(0, .6, .1)**2
>>> palette = area_pal()
>>> palette(x)
array([1. , 1.5, 2. , 2.5, 3. , 3.5])

The results are equidistant because the input ``x`` is in
area space, i.e it is squared.