summaryrefslogtreecommitdiff
path: root/numpy/core/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/core/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/core/function_base.py')
-rw-r--r--numpy/core/function_base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/numpy/core/function_base.py b/numpy/core/function_base.py
index 762328173..21be695f9 100644
--- a/numpy/core/function_base.py
+++ b/numpy/core/function_base.py
@@ -112,7 +112,6 @@ def linspace(start, stop, num=50, endpoint=True, retstep=False, dtype=None,
>>> import matplotlib
>>> import matplotlib.pyplot
- >>> matplotlib.pyplot.switch_backend('agg')
>>> import matplotlib.pyplot as plt
>>> N = 8
>>> y = np.zeros(N)
@@ -265,7 +264,6 @@ def logspace(start, stop, num=50, endpoint=True, base=10.0, dtype=None,
>>> import matplotlib
>>> import matplotlib.pyplot
- >>> matplotlib.pyplot.switch_backend('agg')
>>> import matplotlib.pyplot as plt
>>> N = 10
>>> x1 = np.logspace(0.1, 1, N, endpoint=True)
@@ -380,7 +378,6 @@ def geomspace(start, stop, num=50, endpoint=True, dtype=None, axis=0):
Graphical illustration of ``endpoint`` parameter:
>>> import matplotlib
- >>> matplotlib.use('agg')
>>> import matplotlib.pyplot as plt
>>> N = 10
>>> y = np.zeros(N)