Import numpy as np in README

This commit is contained in:
Hernan Grecco 2016-02-20 18:40:06 -03:00
parent 6f05a5d05b
commit 7b5e503101
3 changed files with 3 additions and 3 deletions

2
README
View File

@ -27,7 +27,7 @@ and you can make good use of numpy if you want:
.. code-block:: python
>>> import numpy
>>> import numpy as np
>>> [3, 4] * ureg.meter + [4, 3] * ureg.cm
<Quantity([ 3.04 4.03], 'meter')>
>>> np.sum(_)

View File

@ -56,7 +56,7 @@ and you can make good use of numpy if you want:
.. code-block:: python
>>> import numpy
>>> import numpy as np
>>> [3, 4] * ureg.meter + [4, 3] * ureg.cm
<Quantity([ 3.04 4.03], 'meter')>
>>> np.sum(_)

View File

@ -33,7 +33,7 @@ and you can make good use of numpy if you want:
.. code-block:: python
>>> import numpy
>>> import numpy as np
>>> [3, 4] * ureg.meter + [4, 3] * ureg.cm
<Quantity([ 3.04 4.03], 'meter')>
>>> np.sum(_)