Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 6d51df5

Browse filesBrowse files
author
James Evans
committed
Removed a reference to nx, replaced with numpy.
svn path=/branches/v0_91_maint/; revision=4948
1 parent 8c974c7 commit 6d51df5
Copy full SHA for 6d51df5

File tree

1 file changed

+3
-2
lines changed
Filter options

1 file changed

+3
-2
lines changed

‎examples/units/units_sample.py

Copy file name to clipboardExpand all lines: examples/units/units_sample.py
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,10 @@
88
99
"""
1010
from basic_units import cm, inch
11-
from pylab import figure, show, nx
11+
from pylab import figure, show
12+
import numpy
1213

13-
cms = cm *nx.arange(0, 10, 2)
14+
cms = cm *numpy.arange(0, 10, 2)
1415

1516
fig = figure()
1617

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.