diff options
| author | su_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 |
| commit | 823318895dfecc05e8376e557543ea9e89c362b2 (patch) | |
| tree | d8a7b66f0ede52e0bc5415eb103e7e89ea436953 /share/extensions/funcplot.py | |
| parent | changes_2012_10_04b.patch: fixes one small memory issue (bytes allocated and ... (diff) | |
| parent | German translation update 93% (diff) | |
| download | inkscape-823318895dfecc05e8376e557543ea9e89c362b2.tar.gz inkscape-823318895dfecc05e8376e557543ea9e89c362b2.zip | |
merge from trunk (r11760)
(bzr r11668.1.25)
Diffstat (limited to 'share/extensions/funcplot.py')
| -rwxr-xr-x | share/extensions/funcplot.py | 10 |
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): |
