瀏覽代碼

changed to sketch2SVG

Gilbert Brault 5 年之前
父節點
當前提交
a9e3bcd8a5
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      pysketcher/shapes.py

+ 1 - 1
pysketcher/shapes.py

@@ -19,7 +19,7 @@ from ruamel.yaml import YAML
 from .MatplotlibDraw import MatplotlibDraw
 drawing_tool = MatplotlibDraw()
 
-def toSVG():
+def sketch2SVG():
     f = BytesIO()
     drawing_tool.mpl.savefig(f, format="svg")
     return f.getvalue()