summaryrefslogtreecommitdiffstats
path: root/share/extensions/funcplot.py
diff options
context:
space:
mode:
authorsu_v <suv-sf@users.sourceforge.net>2012-10-08 18:55:32 +0000
committer~suv <suv-sf@users.sourceforge.net>2012-10-08 18:55:32 +0000
commit823318895dfecc05e8376e557543ea9e89c362b2 (patch)
treed8a7b66f0ede52e0bc5415eb103e7e89ea436953 /share/extensions/funcplot.py
parentchanges_2012_10_04b.patch: fixes one small memory issue (bytes allocated and ... (diff)
parentGerman translation update 93% (diff)
downloadinkscape-823318895dfecc05e8376e557543ea9e89c362b2.tar.gz
inkscape-823318895dfecc05e8376e557543ea9e89c362b2.zip
merge from trunk (r11760)
(bzr r11668.1.25)
Diffstat (limited to 'share/extensions/funcplot.py')
-rwxr-xr-xshare/extensions/funcplot.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/share/extensions/funcplot.py b/share/extensions/funcplot.py
index a868e92a4..a3a810028 100755
--- a/share/extensions/funcplot.py
+++ b/share/extensions/funcplot.py
@@ -25,11 +25,15 @@ Changes:
* 21-Jun-2007: Tavmjong: Added polar coordinates
'''
-import inkex, simplepath, simplestyle
+# standard library
from math import *
from random import *
-import gettext
-_ = gettext.gettext
+# local library
+import inkex
+import simplepath
+import simplestyle
+
+inkex.localize()
def drawfunction(xstart, xend, ybottom, ytop, samples, width, height, left, bottom,
fx = "sin(x)", fpx = "cos(x)", fponum = True, times2pi = False, polar = False, isoscale = True, drawaxis = True, endpts = False):