diff options
author | Christopher Dahlin <christopher@tracsense.tech> | 2021-03-28 11:57:21 +0200 |
---|---|---|
committer | Christopher Dahlin <christopher@tracsense.tech> | 2021-03-28 11:57:21 +0200 |
commit | 18db7880daf6cd20bd7539ab65a3f06663f10d90 (patch) | |
tree | 4239571a7811cdc78d0d005ca5315128b47a4647 | |
parent | 9afc58010f7027711b22e2eea9e97c2940262928 (diff) | |
download | numpy-18db7880daf6cd20bd7539ab65a3f06663f10d90.tar.gz |
Changed matrix size in absolute beginners doc.
-rw-r--r-- | doc/source/user/absolute_beginners.rst | 5 | ||||
-rw-r--r-- | doc/source/user/images/np_create_matrix.png | bin | 36296 -> 10556 bytes |
2 files changed, 3 insertions, 2 deletions
diff --git a/doc/source/user/absolute_beginners.rst b/doc/source/user/absolute_beginners.rst index fda73c5fb..53be9aca8 100644 --- a/doc/source/user/absolute_beginners.rst +++ b/doc/source/user/absolute_beginners.rst @@ -871,10 +871,11 @@ Creating matrices You can pass Python lists of lists to create a 2-D array (or "matrix") to represent them in NumPy. :: - >>> data = np.array([[1, 2], [3, 4]]) + >>> data = np.array([[1, 2], [3, 4], [5, 6]]) >>> data array([[1, 2], - [3, 4]]) + [3, 4], + [5, 6]]) .. image:: images/np_create_matrix.png diff --git a/doc/source/user/images/np_create_matrix.png b/doc/source/user/images/np_create_matrix.png Binary files differindex cd685c4f5..65e4535e5 100644 --- a/doc/source/user/images/np_create_matrix.png +++ b/doc/source/user/images/np_create_matrix.png |