Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC, BUG: Use pngs instead of svgs. #20703

Merged
merged 1 commit into from Jan 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 5 additions & 5 deletions doc/source/user/basics.broadcasting.rst
Expand Up @@ -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
Expand Down Expand Up @@ -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).
Expand All @@ -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.
Expand All @@ -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).
Expand Down Expand Up @@ -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
Expand Down
Binary file added doc/source/user/broadcasting_1.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/user/broadcasting_2.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/user/broadcasting_3.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/user/broadcasting_4.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added doc/source/user/broadcasting_5.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.