From 34075a54e7aa10e80d41ef33ec7102292ecff0d5 Mon Sep 17 00:00:00 2001 From: Ralf Gommers Date: Sat, 10 Jun 2017 15:56:14 +1200 Subject: DOC: BLD: fix lots of Sphinx warnings/errors. --- numpy/core/function_base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'numpy/core/function_base.py') diff --git a/numpy/core/function_base.py b/numpy/core/function_base.py index d6757bb74..7098b8b91 100644 --- a/numpy/core/function_base.py +++ b/numpy/core/function_base.py @@ -292,13 +292,13 @@ def geomspace(start, stop, num=50, endpoint=True, dtype=None): Negative, decreasing, and complex inputs are allowed: - >>> geomspace(1000, 1, num=4) + >>> np.geomspace(1000, 1, num=4) array([ 1000., 100., 10., 1.]) - >>> geomspace(-1000, -1, num=4) + >>> np.geomspace(-1000, -1, num=4) array([-1000., -100., -10., -1.]) - >>> geomspace(1j, 1000j, num=4) # Straight line + >>> np.geomspace(1j, 1000j, num=4) # Straight line array([ 0. +1.j, 0. +10.j, 0. +100.j, 0.+1000.j]) - >>> geomspace(-1+0j, 1+0j, num=5) # Circle + >>> np.geomspace(-1+0j, 1+0j, num=5) # Circle array([-1.00000000+0.j , -0.70710678+0.70710678j, 0.00000000+1.j , 0.70710678+0.70710678j, 1.00000000+0.j ]) -- cgit v1.2.1