
# https://www.globalsino.com/ICs/
# Heatmap without x- and y-coordinates as inputs


import matplotlib.pyplot as plt
import numpy as np

data = np.array([[ 5. ,  2. ,  1. ,  0. ,  1. ,  1. , 5.],
       [ 3. ,  2. ,  1. ,  4. ,  0. ,  1., 0.],
       [ 0. ,  1. ,  0.3,  3. ,  0. ,  0., 1.],
       [ 0. ,  1. ,  0. ,  0.6,  1. ,  4., 2.],
       [ 0. ,  1. ,  1. ,  1. ,  1. ,  0., 0.2],
       [ 0. ,  0. ,  1. ,  1. ,  0. ,  0., 2.],
       [ 5. ,  2. ,  0. ,  0. ,  2. ,  1., 4. ]])

plt.figure(1)
plt.imshow(data ,interpolation='none')
plt.colorbar()
plt.show()
