darkeclipz / calcupy

Calculus powered graphical calculator.
3 stars 0 forks source link

Matrix heatmap #10

Closed darkeclipz closed 5 years ago

darkeclipz commented 5 years ago

For 3x3 matrices and larger with no variables.

darkeclipz commented 5 years ago
plt.figure(figsize=(8,8))
M = np.array(M).astype('float')
im = plt.imshow(M, cmap=cm.hot)
colorbar(im, shrink=0.8, aspect=8)