Set plot directory prefix.

This commit is contained in:
Stefan van der Walt
2009-10-14 07:08:13 +02:00
parent 0601ec4b00
commit d9c206b625
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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."""