From 9111018dc423b01ea79d5a56a548ea7392db1b84 Mon Sep 17 00:00:00 2001 From: endolith Date: Tue, 1 Sep 2015 20:11:57 -0400 Subject: DOC: Note that all imports need to be explicit except `np` --- doc/HOWTO_DOCUMENT.rst.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/HOWTO_DOCUMENT.rst.txt b/doc/HOWTO_DOCUMENT.rst.txt index ac58c7ade..fc046c29c 100644 --- a/doc/HOWTO_DOCUMENT.rst.txt +++ b/doc/HOWTO_DOCUMENT.rst.txt @@ -455,7 +455,8 @@ The sections of the docstring are: The examples may assume that ``import numpy as np`` is executed before the example code in *numpy*. Additional examples may make use of *matplotlib* for plotting, but should import it explicitly, e.g., - ``import matplotlib.pyplot as plt``. + ``import matplotlib.pyplot as plt``. All other imports, including the + demonstrated function, must be explicit. Documenting classes -- cgit v1.2.1