Python real time varying heat map plotting
I have a 2D grid 50*50. For each location I have an intensity value(i.e data is like (x,y,intensity) for each of those 50*50 locations). I would like to visualize the data as a heatmap. The twist is that every second the intensity will change(for most of the locations), which means I will need to re-draw the heatmap every second. I am wondering what is the best library/approach to handle this kind of real-time varing heatmap. This really depends on how you get your data, but: import matplotlib.pyplot as plt import numpy as np import time # create the figure fig = plt.figure() ax = fig.add