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

Skip to content

Commit adcbc63

Browse files
committed
factored out ttf font manager to ttf_font_manager
svn path=/trunk/matplotlib/; revision=129
1 parent 4c2a3be commit adcbc63

23 files changed

Lines changed: 30 additions & 34 deletions

API_CHANGES

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ API changes at 0.50
1414
* Figure is now an Artist (like everything else in the figure) and
1515
is totally backend independent
1616

17+
* GDFONTPATH renamed to TTFPATH
18+
1719
Migrating code:
1820

1921
Matlab interface:

DEVNOTES

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ http://matplotlib.sourceforge.net
1717
mother> python process_docs.py
1818
mother> python convert.py
1919
mother> tar cvfz site.tar.gz *.html screenshots tut examples
20-
mother> scp site.tar.gz [email protected]:/home/groups/m/ma/matplotlib/htdocs/
20+
mother> scp htdocs/site.tar.gz [email protected]:/home/groups/m/ma/matplotlib/htdocs/
2121

2222
mother> ssh -l jdh2358 shell.sf.net
2323
sf> cd /home/groups/m/ma/matplotlib/htdocs

examples/arctest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@ def f(t):
1111
l = plot(t1, f(t1), 'ro')
1212
set(l, 'markersize', 30)
1313
set(l, 'markerfacecolor', 'b')
14-
#savefig('arctest', dpi=150)
14+
savefig('arctest', dpi=150)
1515
show()
1616

examples/axes_props.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
# keyword args are legal too
2828
#set(xticklabels, color='r', fontsize=12)
2929

30-
#savefig('axprops_demo')
30+
savefig('axprops_demo')
3131
show()
3232

3333

@@ -58,7 +58,7 @@
5858
label.set_color('r')
5959
label.set_fontsize(12)
6060
61-
#savefig('axprops_demo')
61+
savefig('axprops_demo')
6262
show()
6363
6464
"""

examples/barchart_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222

2323
legend( (p1[0], p2[0]), ('Men', 'Women') )
2424
#axis([-10, 10, -10, 100])
25-
#savefig('barchart_demo')
25+
savefig('barchart_demo')
2626
show()

examples/errorbar_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,5 @@
2222
title('Mean and standard error as a function of distance')
2323

2424

25-
#savefig('errorbar_demo')
25+
savefig('errorbar_demo')
2626
show()

examples/figtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ def f(t):
2525
title('subplot 2')
2626
ylabel('Undamped')
2727

28-
#savefig('figtext')
28+
savefig('figtext')
2929
show()
3030

examples/histogram_demo.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@
99
y = normpdf( bins, mu, sigma)
1010
l = plot(bins, y, 'r--')
1111
set(l, 'linewidth', 2)
12-
set(gca(), 'xlim', [40, 160])
12+
#set(gca(), 'xlim', [40, 160])
1313

1414
xlabel('Smarts')
1515
ylabel('Probability')
1616
title('Histogram of IQ: mu=100, sigma=15')
17-
#savefig('histogram_demo',dpi=72)
17+
savefig('histogram_demo',dpi=72)
1818
show()

examples/legend_demo.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
set(gca(), 'yticklabels', [])
2121
set(gca(), 'xticklabels', [])
2222

23-
#savefig('legend_demo')
23+
savefig('legend_demo')
2424
show()
2525

2626

examples/legend_demo2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111

1212
legend( (l2, l4), ('oscillatory', 'damped'), 'upper right')
13-
#savefig('legend_demo2')
13+
savefig('legend_demo2')
1414
show()
1515

1616

0 commit comments

Comments
 (0)