Skip to content

Commit 777a27a

Browse files
committed
removed debug code
1 parent 2029881 commit 777a27a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

mathics/web/views.py

+1-3
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,9 @@ def display_data(self, result):
7575
raise NotImplementedError
7676

7777
def svg_xml(self, data, width, height, viewbox):
78-
svg = self.svg.substitute(
78+
return self.svg.substitute(
7979
data=data, width='%d' % width, height='%d' % height,
8080
viewbox=' '.join(['%f' % t for t in viewbox]))
81-
print(svg)
82-
return svg
8381

8482
def img_xml(self, data, width, height):
8583
return self.img.substitue(

0 commit comments

Comments
 (0)