image: image path (string) or image value (numpy array)
heatmap: 2-D numpy value (no shape restriction)
(optional)gaussian filter: mosaic smoothing (gaussian_std, default is 10. when set to 0, means no filter apply)
fromHeatMapimportHeatMap# input a image path and a numpy array heatmaphm=HeatMap('demo_image.jpg',heat_map)
# or input a numpy array image and heatmaphm=HeatMap(image,heat_map,gaussian_std=0)
Method 1 plot: 6 parameters (all optional)
transparency: define the transparency of heamap overlay (lower -> more transparent, default is 0.7)