summaryrefslogtreecommitdiff
path: root/numpy/lib/function_base.py
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2018-12-30 18:18:30 -0800
committerTyler Reddy <tyler.je.reddy@gmail.com>2019-01-02 10:25:32 -0800
commit49a798c27d08f244207829c57d9621c9514e8c82 (patch)
treef723e3f62eea76a39f6c86a37a81ba885aebcfd7 /numpy/lib/function_base.py
parenta16fc9499eaa7cc9d7532f8a51725c6ed647cd1b (diff)
downloadnumpy-49a798c27d08f244207829c57d9621c9514e8c82.tar.gz
DOC, TST: remove agg setting from docs
* there is no longer any usage of "agg" backend switching in our docstrings because this backend is already activated in the refguide_check machinery
Diffstat (limited to 'numpy/lib/function_base.py')
-rw-r--r--numpy/lib/function_base.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/numpy/lib/function_base.py b/numpy/lib/function_base.py
index 274f957db..cce238459 100644
--- a/numpy/lib/function_base.py
+++ b/numpy/lib/function_base.py
@@ -2594,7 +2594,6 @@ def blackman(M):
Examples
--------
>>> import matplotlib
- >>> matplotlib.use('agg')
>>> import matplotlib.pyplot as plt
>>> np.blackman(12)
array([-1.38777878e-17, 3.26064346e-02, 1.59903635e-01, # may vary
@@ -2813,7 +2812,6 @@ def hanning(M):
>>> import matplotlib
>>> import matplotlib.pyplot
- >>> matplotlib.pyplot.switch_backend('agg')
>>> import matplotlib.pyplot as plt
>>> from numpy.fft import fft, fftshift
>>> window = np.hanning(51)
@@ -2916,7 +2914,6 @@ def hamming(M):
>>> import matplotlib
>>> import matplotlib.pyplot
- >>> matplotlib.pyplot.switch_backend('agg')
>>> import matplotlib.pyplot as plt
>>> from numpy.fft import fft, fftshift
>>> window = np.hamming(51)
@@ -3193,7 +3190,6 @@ def kaiser(M, beta):
Examples
--------
>>> import matplotlib
- >>> matplotlib.use('agg')
>>> import matplotlib.pyplot as plt
>>> np.kaiser(12, 14)
array([7.72686684e-06, 3.46009194e-03, 4.65200189e-02, # may vary