diff --git a/doc/source/conf.py b/doc/source/conf.py index 7e742eb2..c5ca8869 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -246,7 +246,7 @@ matplotlib.rcParams.update({ """ plot_include_source = True -plot_formats = [('png', 100)] +plot_formats = [('png', 100), ('pdf', 100)] plot2rst_index_name = 'README' plot2rst_rcparams = {'image.cmap' : 'gray', diff --git a/skimage/io/collection.py b/skimage/io/collection.py index fafca83f..6aa9cfc6 100644 --- a/skimage/io/collection.py +++ b/skimage/io/collection.py @@ -102,6 +102,10 @@ class MultiImage(object): (15, 10) (15, 10) + The two frames in this image can be shown with matplotlib: + + .. plot:: show_collection.py + """ def __init__(self, filename, conserve_memory=True, dtype=None): """Load a multi-img.""" diff --git a/skimage/transform/hough_transform.py b/skimage/transform/hough_transform.py index 1552e531..e83cecd5 100644 --- a/skimage/transform/hough_transform.py +++ b/skimage/transform/hough_transform.py @@ -140,6 +140,8 @@ def hough_line(img, theta=None): >>> out, angles, d = hough(img) + .. plot:: hough_tf.py + """ return _hough(img, theta)