mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-01 02:01:00 +08:00
Merge pull request #315 from tonysyu/doctest-plot-fix
DOC: Remove plotting from docstring examples.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user