In [13]:
# Generate some heatmaps
import matplotlib.pyplot as plt
%matplotlib inline
import numpy as np

In [14]:
# simple heatmap
a = np.linspace(1,25,25).reshape((5,5))
plt.imshow(a, cmap='hot', interpolation='nearest')
plt.colorbar(ticks=[0,5,10,15,20,25])
#plt.show()
plt.savefig("images/heatmap.png")



In [ ]: