Explorar el Código

changed to sketch2SVG

Gilbert Brault hace 5 años
padre
commit
a9e3bcd8a5
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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()