Merge pull request #315 from tonysyu/doctest-plot-fix

DOC: Remove plotting from docstring examples.
This commit is contained in:
Stefan van der Walt
2012-09-13 16:40:26 -07:00
2 changed files with 0 additions and 16 deletions
@@ -46,14 +46,6 @@ def frt2(a):
>>> f = frt2(img)
Plot the results:
>>> import matplotlib.pyplot as plt
>>> plt.imshow(f, interpolation='nearest', cmap=plt.cm.gray)
>>> plt.xlabel('Angle')
>>> plt.ylabel('Translation')
>>> # plt.show()
References
----------
.. [FRT] A. Kingston and I. Svalbe, "Projective transforms on periodic
-8
View File
@@ -131,14 +131,6 @@ def hough(img, theta=None):
>>> out, angles, d = hough(img)
Plot the results:
>>> import matplotlib.pyplot as plt
>>> plt.imshow(out, cmap=plt.cm.bone)
>>> plt.xlabel('Angle (degree)')
>>> plt.ylabel('Distance %d (pixel)' % d[0])
>>> # plt.show()
.. plot:: hough_tf.py
"""