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 committed 2016-03-02 16:22:24 -08:00
1 parent 3ffca2fdbd
commit a8057ed941
5 files changed
+36 -4

No files matched your search

+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)