Skip to content

Commit 4d60994

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

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

unit/longs_test.py

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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

Lines 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)