summaryrefslogtreecommitdiff
path: root/doc/source
diff options
context:
space:
mode:
authorMukulika <mukulikapahari@gmail.com>2022-01-01 10:52:52 +0530
committerMukulika <mukulikapahari@gmail.com>2022-01-01 10:52:52 +0530
commit3b6ee48d6065cf5b7e1878d6e237ac69d7d74931 (patch)
treef4826d687b55e2ee12f2e4df12623b29ee2f8b05 /doc/source
parent817d2589a7471a4145be8ef224d604da83210a31 (diff)
downloadnumpy-3b6ee48d6065cf5b7e1878d6e237ac69d7d74931.tar.gz
DOC: Replaced svgs with png
Diffstat (limited to 'doc/source')
-rw-r--r--doc/source/user/basics.broadcasting.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/source/user/basics.broadcasting.rst b/doc/source/user/basics.broadcasting.rst
index ca299085a..5bea8e767 100644
--- a/doc/source/user/basics.broadcasting.rst
+++ b/doc/source/user/basics.broadcasting.rst
@@ -46,7 +46,7 @@ only conceptual. NumPy is smart enough to use the original scalar value
without actually making copies so that broadcasting operations are as
memory and computationally efficient as possible.
-.. figure:: broadcasting_1.svg
+.. figure:: broadcasting_1.png
:alt: A scalar is broadcast to match the shape of the 1-d array it
is being multiplied to.
:name: broadcasting.figure-1
@@ -177,7 +177,7 @@ As shown in :ref:`broadcasting.figure-2`, ``b`` is added to each row of ``a``.
In :ref:`broadcasting.figure-3`, an exception is raised because of the
incompatible shapes.
-.. figure:: broadcasting_2.svg
+.. figure:: broadcasting_2.png
:alt: A 1-d array with shape (3) is strectched to match the 2-d array of
shape (4, 3) it is being added to, and the result is a 2-d array of shape
(4, 3).
@@ -189,7 +189,7 @@ incompatible shapes.
broadcasting if number of 1-d array elements matches the number of 2-d
array columns.*
-.. figure:: broadcasting_3.svg
+.. figure:: broadcasting_3.png
:alt: A huge cross over the 2-d array of shape (4, 3) and the 1-d array
of shape (4) shows that they can not be broadcast due to mismatch
of shapes and thus produce no result.
@@ -213,7 +213,7 @@ outer addition operation of two 1-d arrays::
[ 21., 22., 23.],
[ 31., 32., 33.]])
-.. figure:: broadcasting_4.svg
+.. figure:: broadcasting_4.png
:alt: A 2-d array of shape (4, 1) and a 1-d array of shape (3) are
stretched to match their shapes and produce a resultant array
of shape (4, 3).
@@ -261,7 +261,7 @@ the shape of the ``codes`` array::
Codes (2d array): 4 x 2
Diff (2d array): 4 x 2
-.. figure:: broadcasting_5.svg
+.. figure:: broadcasting_5.png
:alt: A height versus weight graph that shows data of a female
gymnast, marathon runner, basketball player, football
lineman and the athlete to be classified. Shortest distance