Skip to content

Commit 1b03d30

Browse files
First time passing "mathtext demo"
1 parent ef7f818 commit 1b03d30

File tree

3 files changed

+502
-306
lines changed

3 files changed

+502
-306
lines changed

lib/matplotlib/mathtext.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
please email mdroe@stsci.edu, but please check KNOWN ISSUES below first.
1919
"""
2020
from __future__ import division
21-
import os
21+
import os, sys
2222
from cStringIO import StringIO
2323
from math import ceil
2424
try:
@@ -2828,7 +2828,7 @@ def sqrt(self, s, loc, toks):
28282828
padded_body])
28292829
# Stretch the glue between the hrule and the body
28302830
rightside.vpack(height + (state.fontsize * state.dpi) / (100.0 * 12.0),
2831-
depth, 'exactly')
2831+
'exactly', depth)
28322832

28332833
# Add the root and shift it upward so it is above the tick.
28342834
# The value of 0.6 is a hard-coded hack ;)
@@ -2869,7 +2869,7 @@ def overline(self, s, loc, toks):
28692869

28702870
# Stretch the glue between the hrule and the body
28712871
rightside.vpack(height + (state.fontsize * state.dpi) / (100.0 * 12.0),
2872-
depth, 'exactly')
2872+
'exactly', depth)
28732873

28742874
hlist = Hlist([rightside])
28752875
return [hlist]

0 commit comments

Comments
 (0)