Skip to content

Commit

Permalink
Remove references to Numeric in the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
rpep committed Nov 24, 2023
1 parent 653dd71 commit fd3c271
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 14 deletions.
15 changes: 7 additions & 8 deletions docs/es/tutorials/SurfarrayIntro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,14 @@ principio aqu铆 para ir avanzando.

Ahora bien, no voy a enga帽arte para que pienses que todo va a ser muy sencillo.
Lograr efectos avanzados modificando los valores de p铆xeles puede ser complicado.
Solo dominar Numeric Python, NumPy, (el paquete de matrices original de
SciPy era Numeric, el predecesor de NumPy) requiere aprendizaje. En este tutorial
me centrar茅 en lo b谩sico y utilizar茅 muchos ejemplos en un intento de sembrar las
semillas de la sabidur铆a. Despu茅s de haber terminado el tutorial, deber铆as tener
una comprensi贸n b谩sica de c贸mo funciona el surfarray.
Solo dominar NumPy requiere aprendizaje. En este tutorial me centrar茅 en lo
b谩sico y utilizar茅 muchos ejemplos en un intento de sembrar las semillas de la
sabidur铆a. Despu茅s de haber terminado el tutorial, deber铆as tener una comprensi贸n
b谩sica de c贸mo funciona el surfarray.


Numeric Python
--------------
NumPy
-----

Si no ten茅s instalado el paquete NumPy de python,
necesitar谩s hacerlo. Pod茅s descargar el paquete dede la p谩gina de
Expand Down Expand Up @@ -596,7 +595,7 @@ truncaci贸n indefinida.
Graduaci贸n
----------

Bueno, ah铆 est谩. Mi breve introducci贸n a Numeric Python y surfarray.
Bueno, ah铆 est谩. Mi breve introducci贸n a NumPy y surfarray.
Espero que ahora veas lo que es posible, y aunque nunca los uses por
ti mismo, no tengas miedo cuando veas c贸digo que los use. Echale un
vistazo al ejemplo vgrade para ver m谩s sobre los arrays num茅ricos. Tambi茅n,
Expand Down
2 changes: 1 addition & 1 deletion docs/reST/ref/mixer.rst
Original file line number Diff line number Diff line change
Expand Up @@ -292,7 +292,7 @@ change the default buffer by calling :func:`pygame.mixer.pre_init` before
it and the Sound object.

For now buffer and array support is consistent with ``sndarray.make_sound``
for Numeric arrays, in that sample sign and byte order are ignored. This
for NumPy arrays, in that sample sign and byte order are ignored. This
will change, either by correctly handling sign and byte order, or by raising
an exception when different. Also, source samples are truncated to fit the
audio sample size. This will not change.
Expand Down
2 changes: 1 addition & 1 deletion docs/reST/tut/SurfarrayIntro-rest
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ between 0 and 255, or you will get some undefined truncating.
Graduation
==========

Well there you have it. My quick primer on Numeric Python and surfarray.
Well there you have it. My quick primer on NumPy and surfarray.
Hopefully now you see what is possible, and even if you never use them for
yourself, you do not have to be afraid when you see code that does. Look into
the vgrade example for more numeric array action. There are also some *"flame"*
Expand Down
7 changes: 3 additions & 4 deletions docs/reST/tut/SurfarrayIntro.rst
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,13 @@ to work your way up.

Now I won't try to fool you into thinking everything is very easy. To get
more advanced effects by modifying pixel values is very tricky. Just mastering
Numeric Python (SciPy's original array package was Numeric, the predecessor of NumPy)
takes a lot of learning. In this tutorial I'll be sticking with
NumPy takes a lot of learning. In this tutorial I'll be sticking with
the basics and using a lot of examples in an attempt to plant seeds of wisdom.
After finishing the tutorial you should have a basic handle on how the surfarray
works.


Numeric Python
NumPy
--------------

If you do not have the python NumPy package installed,
Expand Down Expand Up @@ -569,7 +568,7 @@ between 0 and 255, or you will get some undefined truncating.
Graduation
----------

Well there you have it. My quick primer on Numeric Python and surfarray.
Well there you have it. My quick primer on NumPy and surfarray.
Hopefully now you see what is possible, and even if you never use them for
yourself, you do not have to be afraid when you see code that does. Look into
the vgrade example for more numeric array action. There are also some *"flame"*
Expand Down

0 comments on commit fd3c271

Please sign in to comment.