DOC: suppress plot display in doctests

Plot display interrupts the doctest run.
This commit is contained in:
Tony S Yu
2012-09-11 23:33:15 -04:00
parent ef06d4e474
commit 2614853a92
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ def frt2(a):
>>> plt.imshow(f, interpolation='nearest', cmap=plt.cm.gray)
>>> plt.xlabel('Angle')
>>> plt.ylabel('Translation')
>>> plt.show()
>>> # plt.show()
References
----------
+1 -1
View File
@@ -137,7 +137,7 @@ def hough(img, theta=None):
>>> plt.imshow(out, cmap=plt.cm.bone)
>>> plt.xlabel('Angle (degree)')
>>> plt.ylabel('Distance %d (pixel)' % d[0])
>>> plt.show()
>>> # plt.show()
.. plot:: hough_tf.py