问题 I need to display values of my matrix using matshow. However, with the code I have now I just get two matrices - one with values and other colored. How do I impose them? Thanks :) import numpy as np import matplotlib.pyplot as plt fig, ax = plt.subplots() min_val, max_val = 0, 15 for i in xrange(15): for j in xrange(15): c = intersection_matrix[i][j] ax.text(i+0.5, j+0.5, str(c), va='center', ha='center') plt.matshow(intersection_matrix, cmap=plt.cm.Blues) ax.set_xlim(min_val, max_val) ax.set