Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 215d24f

Browse files
committed
Changed ipython_directive.rst back so doctest works with numpy 1.14
1 parent f3d0ff8 commit 215d24f

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

ipython_directive.rst

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -106,16 +106,16 @@ suppress the seed line so it doesn't show up in the rendered output
106106
@doctest
107107
In [3]: numpy.random.rand(10, 2)
108108
Out[3]:
109-
array([[ 0.64524308, 0.59943846],
110-
[ 0.47102322, 0.8715456 ],
111-
[ 0.29370834, 0.74776844],
112-
[ 0.99539577, 0.1313423 ],
113-
[ 0.16250302, 0.21103583],
114-
[ 0.81626524, 0.1312433 ],
115-
[ 0.67338089, 0.72302393],
116-
[ 0.7566368 , 0.07033696],
117-
[ 0.22591016, 0.77731835],
118-
[ 0.0072729 , 0.34273127]])
109+
array([[0.64524308, 0.59943846],
110+
[0.47102322, 0.8715456 ],
111+
[0.29370834, 0.74776844],
112+
[0.99539577, 0.1313423 ],
113+
[0.16250302, 0.21103583],
114+
[0.81626524, 0.1312433 ],
115+
[0.67338089, 0.72302393],
116+
[0.7566368 , 0.07033696],
117+
[0.22591016, 0.77731835],
118+
[0.0072729 , 0.34273127]])
119119

120120
Another demonstration of multi-line input and output
121121

0 commit comments

Comments
 (0)