def resize(self, sizes, interpolation="<STR_LIT>"):
arr_0to1_resized = ia.imresize_single_image(self.arr_0to1, sizes, interpolation=interpolation)<EOL>arr_0to1_resized = np.clip(arr_0to1_resized, <NUM_LIT:0.0>, <NUM_LIT:1.0>)<EOL>return HeatmapsOnImage.from_0to1(arr_0to1_resized, shape=self.shape, min_value=self.min_value,<EOL>max_value=self.max_value)<EOL>
Resize the heatmap(s) array to the provided size given the provided interpolation.

Parameters
----------
sizes : float or iterable of int or iterable of float
    New size of the array in ``(height, width)``.
    See :func:`imgaug.imgaug.imresize_single_image` for details.

interpolation : None or str or int, optional
    The interpolation to use during resize.
    See :func:`imgaug.imgaug.imresize_single_image` for details.

Returns
-------
imgaug.HeatmapsOnImage
    Resized heatmaps object.