Skip to content

Commit f3dcfb9

Browse files
committed
clean up
1 parent 079eccb commit f3dcfb9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

mathics/builtin/graphics.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2601,7 +2601,7 @@ def to_svg(self):
26012601
content = self.content.boxes_to_xml(evaluation=self.graphics.evaluation)
26022602
style = create_css(font_color=self.color)
26032603
svg = (
2604-
'<foreignObject x="%f" y="%f" ox="%f" oy="%f" width="100" height="100" style="%s">'
2604+
'<foreignObject x="%f" y="%f" ox="%f" oy="%f" style="%s">'
26052605
'<math xmlns="http://www.w3.org/1998/Math/MathML">%s</math></foreignObject>'
26062606
) % (x, y, self.opos[0], self.opos[1], style, content)
26072607
return svg
@@ -3236,7 +3236,7 @@ def boxes_to_xml(self, leaves=None, **options):
32363236
" ".join("%f" % t for t in (xmin, ymin, w, h)),
32373237
svg,
32383238
)
3239-
print("svg=", svg_xml)
3239+
32403240
return (
32413241
'<mglyph width="%dpx" height="%dpx" src="data:image/svg+xml;base64,%s"/>'
32423242
% (

0 commit comments

Comments
 (0)