Skip to content

Instantly share code, notes, and snippets.

@sergeant-wizard
Created January 18, 2017 04:49
Show Gist options
  • Save sergeant-wizard/276239914f548e48d0663aaad51ee741 to your computer and use it in GitHub Desktop.
Save sergeant-wizard/276239914f548e48d0663aaad51ee741 to your computer and use it in GitHub Desktop.
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