From d9c206b62575b3558e5f04c6255c2cfef7aa3341 Mon Sep 17 00:00:00 2001 From: Stefan van der Walt Date: Wed, 14 Oct 2009 07:08:13 +0200 Subject: [PATCH] Set plot directory prefix. --- doc/source/conf.py | 1 + scikits/image/io/collection.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/source/conf.py b/doc/source/conf.py index 793d8cf8..f3375beb 100644 --- a/doc/source/conf.py +++ b/doc/source/conf.py @@ -221,6 +221,7 @@ latex_documents = [ # ----------------------------------------------------------------------------- # Plots # ----------------------------------------------------------------------------- +plot_basedir = os.path.join(curpath, "plots") plot_pre_code = """ import numpy as np import matplotlib.pyplot as plt diff --git a/scikits/image/io/collection.py b/scikits/image/io/collection.py index 399c3a70..7cf98e09 100644 --- a/scikits/image/io/collection.py +++ b/scikits/image/io/collection.py @@ -60,7 +60,7 @@ class MultiImage(object): The two frames in this image can be shown with matplotlib: - .. plot:: ../plots/show_collection.py + .. plot:: show_collection.py """ def __init__(self, filename, conserve_memory=True, dtype=None): """Load a multi-img."""