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 4d60994

Browse filesBrowse files
committed
converted units to pylab namespace
svn path=/trunk/matplotlib/; revision=849
1 parent 6682a36 commit 4d60994
Copy full SHA for 4d60994

File tree

Expand file treeCollapse file tree

7 files changed

+7
-7
lines changed
Filter options
Expand file treeCollapse file tree

7 files changed

+7
-7
lines changed

‎unit/longs_test.py

Copy file name to clipboardExpand all lines: unit/longs_test.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env python
22
# try plotting very large numbers
33

4-
from matplotlib.matlab import *
4+
from pylab import *
55
x = arange(1000) + 2**32
66

77
subplot(211)

‎unit/memleak_hawaii3.py

Copy file name to clipboardExpand all lines: unit/memleak_hawaii3.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import matplotlib
55
#matplotlib.use('Cairo')
66
matplotlib.use('Agg')
7-
from matplotlib.matlab import *
7+
from pylab import *
88

99

1010
def report_memory(i):

‎unit/pathologies/const_xy.py

Copy file name to clipboardExpand all lines: unit/pathologies/const_xy.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
from matplotlib.matlab import *
2+
from pylab import *
33

44
subplot(311)
55
plot(arange(10), ones( (10,)))

‎unit/pathologies/shapes.py

Copy file name to clipboardExpand all lines: unit/pathologies/shapes.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
from matplotlib.matlab import *
1+
from pylab import *
22

33

44
y1 = arange(10)

‎unit/pathologies/single_date.py

Copy file name to clipboardExpand all lines: unit/pathologies/single_date.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import time
22
from matplotlib.dates import EpochConverter
3-
from matplotlib.matlab import *
3+
from pylab import *
44
from matplotlib.ticker import FuncFormatter, NullLocator,\
55
MinuteLocator, DayLocator, HourLocator, MultipleLocator, DateFormatter
66

‎unit/pathologies/single_point.py

Copy file name to clipboardExpand all lines: unit/pathologies/single_point.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/usr/bin/env python
2-
from matplotlib.matlab import *
2+
from pylab import *
33

44
subplot(211)
55
plot([0],[0],'o')

‎unit/simple_plot.py

Copy file name to clipboardExpand all lines: unit/simple_plot.py
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import matplotlib
22
matplotlib.use('Template')
3-
from matplotlib.matlab import *
3+
from pylab import *
44

55
t = arange(0.0, 2.0, 0.01)
66
s = sin(2*pi*t)

0 commit comments

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