Fixed bug that arose when using heatmap with default parameters.

Using heat map with default point_radius or max_intensity led to a TypeError. Now fixed.