Skip to content

Commit 25dfebe

Browse files
committed
fixed kappa in mathtext
svn path=/trunk/matplotlib/; revision=867
1 parent d557c89 commit 25dfebe

File tree

3 files changed

+11
-5
lines changed

3 files changed

+11
-5
lines changed

CHANGELOG

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
New entries should be added at the top
22

3+
2005-01-17 Added kappa to latex_to_bakoma - JDH
4+
35
2005-01-15 Support arbitrary colorbar axes and horizontal colorbars - JDH
46

57
2005-01-15 Fixed colormar number of colors bug so that the colorbar

lib/matplotlib/_mathtext_data.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@
9191
r'\nu' : ('cmmi10', 34),
9292
r'\xi' : ('cmmi10', 7),
9393
r'\pi' : ('cmmi10', 36),
94+
r'\kappa' : ('cmmi10', 30),
9495
r'\rho' : ('cmmi10', 39),
9596
r'\sigma' : ('cmmi10', 21),
9697
r'\tau' : ('cmmi10', 43),

unit/memleak_hawaii3.py

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,9 @@
22

33
import os, sys, time
44
import matplotlib
5+
matplotlib.interactive(True)
56
#matplotlib.use('Cairo')
6-
matplotlib.use('Agg')
7+
matplotlib.use('TkAgg')
78
from pylab import *
89

910

@@ -20,8 +21,8 @@ def report_memory(i):
2021
for i in range(indEnd):
2122
ind = arange(100)
2223
xx = rand(len(ind))
23-
24-
figure(1)
24+
figure(1); clf()
25+
ioff()
2526
subplot(221)
2627
plot(ind, xx)
2728

@@ -33,8 +34,10 @@ def report_memory(i):
3334
scatter(rand(50), rand(50))
3435
subplot(224)
3536
pcolor(10*rand(50,50))
36-
37-
savefig('tmp%d' % i, dpi = 75)
37+
ion()
38+
draw()
39+
#ioff()
40+
#savefig('tmp%d' % i, dpi = 75)
3841
#fd = file('tmp%d' % i, 'wb')
3942
#savefig(fd, dpi = 75)
4043
#fd.close()

0 commit comments

Comments
 (0)