summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Dahlin <christopher@tracsense.tech>2021-03-28 11:57:21 +0200
committerChristopher Dahlin <christopher@tracsense.tech>2021-03-28 11:57:21 +0200
commit18db7880daf6cd20bd7539ab65a3f06663f10d90 (patch)
tree4239571a7811cdc78d0d005ca5315128b47a4647
parent9afc58010f7027711b22e2eea9e97c2940262928 (diff)
downloadnumpy-18db7880daf6cd20bd7539ab65a3f06663f10d90.tar.gz
Changed matrix size in absolute beginners doc.
-rw-r--r--doc/source/user/absolute_beginners.rst5
-rw-r--r--doc/source/user/images/np_create_matrix.pngbin36296 -> 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
index cd685c4f5..65e4535e5 100644
--- a/doc/source/user/images/np_create_matrix.png
+++ b/doc/source/user/images/np_create_matrix.png
Binary files differ