Skip to content

Instantly share code, notes, and snippets.

@ds604
Created April 15, 2018 17:53
Show Gist options
  • Save ds604/5b91c9134e603675689b9b2bc954d017 to your computer and use it in GitHub Desktop.
Save ds604/5b91c9134e603675689b9b2bc954d017 to your computer and use it in GitHub Desktop.
from skimage import data
import matplotlib.pyplot as plt
import numpy as np
image = data.camera()
fig, (ax_jet, ax_gray) = plt.subplots(ncols=2, figsize=(10,5))
ax_jet.imshow(image, cmap='jet')
ax_gray.imshow(image, cmap='gray')
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment