mirror of
https://github.com/wassname/scikit-image.git
synced 2026-07-15 11:25:53 +08:00
Set plot directory prefix.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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."""
|
||||
|
||||
Reference in New Issue
Block a user