Add reset and compare to novice module

- Reset restores the image to the original.
- Compare displays the original and the modified image side-by-side.
This commit is contained in:
Stefan van der Walt
2016-03-02 16:22:24 -08:00
parent 3ffca2fdbd
commit a8057ed941
5 changed files with 36 additions and 4 deletions
+1 -1
View File
@@ -171,7 +171,7 @@ def imshow_collection(ic, *args, **kwargs):
"""
fig, axes = plt.subplots(1, len(ic))
for n, image in enumerate(ic):
kwargs['axis'] = axes[n]
kwargs['ax'] = axes[n]
imshow(image, *args, **kwargs)