Created
January 18, 2017 04:49
-
-
Save sergeant-wizard/276239914f548e48d0663aaad51ee741 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def show_mat(mat): | |
fig = plt.figure() | |
ax = fig.add_subplot(111) | |
cax = ax.matshow(mat) | |
fig.colorbar(cax) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment