Sfoglia il codice sorgente

changed to sketch2SVG

Gilbert Brault 5 anni fa
parent
commit
a9e3bcd8a5
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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()