Skip to content

Commit 354ed88

Browse files
committed
use nicefrac
1 parent 29ea8be commit 354ed88

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

images/random_pi.pdf

58 Bytes
Binary file not shown.

images/src/random_pi.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,6 @@
2121
c.text(dist, -1.5*ticklen, str(tick), [text.halign.center, text.valign.top])
2222
c.stroke(path.line(0, dist, -ticklen, dist))
2323
c.text(-1.5*ticklen, dist, str(tick), [text.halign.right, text.valign.middle])
24-
c.text(0.4*side, 0.4*side, r'\huge$\frac{\pi}{4}$',
24+
c.text(0.4*side, 0.4*side, r'\huge$\nicefrac{\pi}{4}$',
2525
[text.halign.center, text.valign.middle, darkcolor])
2626
c.writePDFfile()

0 commit comments

Comments
 (0)