From 397177ea2a0b7c088760a092474199ba49d3613d Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Thu, 20 Mar 2014 11:00:13 +0200 Subject: [PATCH 1/2] Remove debug print in contribs --- doc/release/contribs.py | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/release/contribs.py b/doc/release/contribs.py index c92ac7ca..58cb11d2 100755 --- a/doc/release/contribs.py +++ b/doc/release/contribs.py @@ -11,7 +11,6 @@ if len(sys.argv) != 2: tag = sys.argv[1] def call(cmd): - print(shlex.split(cmd)) return subprocess.check_output(shlex.split(cmd), universal_newlines=True).split('\n') tag_date = call("git show --format='%%ci' %s" % tag)[0] From b54b41bcb245dfa5d0c91ec10cd8465b401c0c44 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Thu, 20 Mar 2014 18:08:56 +0200 Subject: [PATCH 2/2] Use nearest neighbor interpolation and a gray-level color map for plotting feature matches --- skimage/feature/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skimage/feature/util.py b/skimage/feature/util.py index 8ee2baf8..5a3e5687 100644 --- a/skimage/feature/util.py +++ b/skimage/feature/util.py @@ -105,7 +105,7 @@ def plot_matches(ax, image1, image2, keypoints1, keypoints2, matches, ax.scatter(keypoints2[:, 1] + offset[1], keypoints2[:, 0], facecolors='none', edgecolors=keypoints_color) - ax.imshow(image) + ax.imshow(image, interpolation='nearest', cmap='gray') ax.axis((0, 2 * offset[1], offset[0], 0)) for i in range(matches.shape[0]):