Show More
@@ -57,7 +57,7 b' def test_cell_magic():' | |||||
57 | r = resid(a) |
|
57 | r = resid(a) | |
58 | xc = coef(a) |
|
58 | xc = coef(a) | |
59 | ''' |
|
59 | ''' | |
60 | ip.run_cell_magic('R', '-i x,y -o r,xc a=lm(y~x)', snippet) |
|
60 | ip.run_cell_magic('R', '-i x,y -o r,xc -w 150 -u mm a=lm(y~x)', snippet) | |
61 | np.testing.assert_almost_equal(ip.user_ns['xc'], [3.2, 0.9]) |
|
61 | np.testing.assert_almost_equal(ip.user_ns['xc'], [3.2, 0.9]) | |
62 | np.testing.assert_almost_equal(ip.user_ns['r'], np.array([-0.2, 0.9, -1. , 0.1, 0.2])) |
|
62 | np.testing.assert_almost_equal(ip.user_ns['r'], np.array([-0.2, 0.9, -1. , 0.1, 0.2])) | |
63 |
|
63 |
General Comments 0
You need to be logged in to leave comments.
Login now