Centre county Pennsylvania, USA | Data for that heatmap is stored in arrays that came with the downloaded code. However; code for much more complex heatmaps, that use externally supplied data arrays, are also downloadable (free) from this link:
https://matplotlib.org/gallery/images_contours_and_fields/image_anno...
Python's Matplotlib imshow function makes heatmaps for very large data arrays. Those are particularly useful for visualizing the very large arrays that are produced in investment strategy testing, and other equally complex tasks. |