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

Skip to content

Commit 57228e2

Browse files
committed
Initial support for complex fractions. Also, rendering is now completely separated from parsing. The sub/superscripts now work better.
svn path=/trunk/matplotlib/; revision=2713
1 parent 6e63f03 commit 57228e2

3 files changed

Lines changed: 254 additions & 340 deletions

File tree

CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
2006-08-28 mahtext2.py: Initial support for complex fractions. Also,
2+
rendering is now completely separated from parsing. The
3+
sub/superscripts now work better.
4+
Updated the mathtext2_demo.py - ES
5+
16
2006-08-27 qt backends: don't create a QApplication when backend is
27
imported, do it when the FigureCanvasQt is created. Simplifies
38
applications where mpl is embedded in qt. Updated

examples/mathtext2_demo.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,10 @@
6464
#tex = ur"$Tutinjac\ fff\sin\exp$"
6565
#tex = ur"$\sin\exp{\rm sin\ exp}$"
6666
#tex = ur"$a^{\sin x}\sin b\sin(x/x), {\rm sin}(x/x){\rm sin\ }(x/x)$"
67-
#tex = ur"$\frac {\int_{-\infty}^\infty} 2$"
68-
tex = ur"$\frac3 2$"
67+
tex = ur"$1\frac {\int_{-\infty}^\infty} 22$"
68+
#tex = ur"$\frac{\int_{-\infty}^\infty} 2$"
69+
#tex = ur"$1_\frac{\sum^2_{i_{23}=0}} 2678$"
70+
#tex = ur"$1_{\frac{\sum^2_{i_{23}=0}} 2 345}678$"
6971
text(0.5, 2., tex, fontsize=20)
7072
tex = r'${\cal R}\prod_{i=\alpha_{i+1}}^\infty a_i\sin\exp(2 \pi f x_i)$'
7173
text(1, 1.9, tex, fontsize=20)

0 commit comments

Comments
 (0)