Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit bb7b9fc

Browse files
committed
added Stephens load patch
svn path=/trunk/matplotlib/; revision=744
1 parent f210efb commit bb7b9fc

5 files changed

Lines changed: 13 additions & 6 deletions

File tree

TODO

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -604,4 +604,11 @@ ZeroDivisionError: SeparableTransformation::eval_scalars yin interval is zero; c
604604
-- cmap observer bug - see
605605
~/python/matplotlib_support/test/cmap_observer_bug.py
606606

607-
-- add connect function.
607+
-- add connect function.
608+
609+
-- add silent list
610+
611+
-- xmajor and xminor kwargs
612+
613+
-- add hold option to plot
614+

examples/backend_driver.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,10 +100,10 @@ def drive(backend, python='python2.3'):
100100
os.system('%s %s' % (python, tmpfile))
101101

102102
times = {}
103-
backends = ['PS', 'GD', 'Paint', 'Agg', 'Template']
103+
backends = ['PS', 'SVG', 'Agg', 'Cairo', 'Template']
104104
#backends.extend([ 'GTK', 'WX', 'TkAgg'])
105105
#backends = [ 'Agg']
106-
backends = ['PS', 'Agg']
106+
#backends = ['PS', 'Agg']
107107

108108
python = 'python2.3'
109109
for backend in backends:

examples/mathtext_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
x = arange(0.0, 3.0, 0.1)
1616

1717
grid(True)
18-
ylabel(r'$\Delta_i^j$', fontsize=20)
18+
xlabel(r'$\Delta_i^j$', fontsize=20)
1919
ylabel(r'$\Delta_{i+1}^j$', fontsize=20)
2020
tex = r'$\cal{R}\prod_{i=\alpha_{i+1}}^\infty a_i\rm{sin}(2 \pi f x_i)$'
2121
text(1, 1.6, tex, fontsize=20)

lib/matplotlib/backends/backend_gtk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
def fn_name(): return sys._getframe(1).f_code.co_name
66

77
import matplotlib
8-
from matplotlib import verbose
8+
from matplotlib import verbose, MPLError
99
from matplotlib.numerix import asarray, fromstring, UInt8, zeros, \
1010
where, transpose, nonzero, indices, ones, nx
1111

lib/matplotlib/pylab.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -931,7 +931,7 @@ def load(fname):
931931
X = []
932932
numCols = None
933933
for line in fh:
934-
line = line.strip()
934+
line = line[:line.rfind('%')].strip()
935935
if not len(line): continue
936936
row = [float(val) for val in line.split()]
937937
thisLen = len(row)

0 commit comments

Comments
 (0)