Skip to content

Commit 7fed5bb

Browse files
committed
clean
1 parent c03a81c commit 7fed5bb

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mathicsscript/format.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ def format_output(obj, expr, format=None):
2929
expr = leaves[0]
3030
elif expr_type in ("System`Graphics", "System`Plot"):
3131
result = "-System Graphics-"
32-
result = Expression("StandardForm", expr).format(obj, "System`MathMLForm")
32+
result = Expression("StandardForm", expr)
33+
result = result.format(obj, "System`MathMLForm")
3334
ml_str = result.leaves[0].leaves[0]
3435
# FIXME: not quite right. Need to parse out strings
3536
# display_svg(str(ml_str))

0 commit comments

Comments
 (0)