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

Skip to content

Commit f0d032d

Browse files
committed
fixed mathtext bug for ft2font
svn path=/trunk/matplotlib/; revision=480
1 parent d714799 commit f0d032d

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.matplotlibrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
backend : GTKAgg # the default backend
2828
numerix : Numeric # Numeric or numarray
2929
interactive : False # see http://matplotlib.sourceforge.net/interactive.html
30-
toolbar : toolbar2 # None | classic | toolbar2 (experimental)
30+
toolbar : toolbar2 # None | classic | toolbar2
3131

3232
# Where your matplotlib data lives if you installed to a non-default
3333
# location. This is where the matplotlib fonts, bitmaps, etc reside

examples/mathtext_demo.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@
2323
#tex = r'$\alpha\beta\gamma$'
2424
text(1, 1.6, tex, fontsize=20)
2525
title(r'$\Delta_i^j \hspace{0.4} \rm{versus} \hspace{0.4} \Delta_{i+1}^j$', fontsize=20)
26-
savefig('mathtext_demo')
26+
savefig('mathtext_demo1', dpi=300)
27+
savefig('mathtext_demo2', dpi=50)
2728

2829
show()

0 commit comments

Comments
 (0)