summaryrefslogtreecommitdiff
path: root/numpy/fft/pocketfft.py
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2019-01-02 11:12:00 -0800
committerTyler Reddy <tyler.je.reddy@gmail.com>2019-01-02 11:12:00 -0800
commita5078dcd66590d5e127b99b74e86f3d27cc75913 (patch)
treef28925dde0c04b2f1925aaea088629b555b83d8e /numpy/fft/pocketfft.py
parent49a798c27d08f244207829c57d9621c9514e8c82 (diff)
downloadnumpy-a5078dcd66590d5e127b99b74e86f3d27cc75913.tar.gz
DOC, TST: clean up matplotlib imports
* as requested by review in gh-12634, the vast majority of docstring matplotlib imports can be simplified to a single line
Diffstat (limited to 'numpy/fft/pocketfft.py')
-rw-r--r--numpy/fft/pocketfft.py2
1 files changed, 0 insertions, 2 deletions
diff --git a/numpy/fft/pocketfft.py b/numpy/fft/pocketfft.py
index 2a41b12a3..45dc162f6 100644
--- a/numpy/fft/pocketfft.py
+++ b/numpy/fft/pocketfft.py
@@ -163,7 +163,6 @@ def fft(a, n=None, axis=-1, norm=None):
in the real part and anti-symmetric in the imaginary part, as described in
the `numpy.fft` documentation:
- >>> import matplotlib
>>> import matplotlib.pyplot as plt
>>> t = np.arange(256)
>>> sp = np.fft.fft(np.sin(t))
@@ -257,7 +256,6 @@ def ifft(a, n=None, axis=-1, norm=None):
Create and plot a band-limited signal with random phases:
- >>> import matplotlib
>>> import matplotlib.pyplot as plt
>>> t = np.arange(400)
>>> n = np.zeros((400,), dtype=complex)