This file contains 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
%matplotlib inline | |
import matplotlib.pyplot as plt | |
def sxs(images, idxs=[]): | |
plt.figure(figsize=(100, 100)) | |
assert idxs, 'define me' | |
for i, idx in enumerate(idxs): | |
plt.subplot(1, len(idxs), i+1) | |
plt.imshow(images[idx], cmap='gray') |
NewerOlder