diff options
| author | Peter Moulder <peter.moulder@monash.edu> | 2008-05-23 06:15:31 +0000 |
|---|---|---|
| committer | pjrm <pjrm@users.sourceforge.net> | 2008-05-23 06:15:31 +0000 |
| commit | 7203d6278060daca63fe1f6d27c8b6041a7fc2ac (patch) | |
| tree | c733b9e4fbfbe4ec33bf9975d2ea2d68e6a7dc92 /share/extensions/funcplot.py | |
| parent | update to really latest 2geom (diff) | |
| download | inkscape-7203d6278060daca63fe1f6d27c8b6041a7fc2ac.tar.gz inkscape-7203d6278060daca63fe1f6d27c8b6041a7fc2ac.zip | |
share/extension/*.py: noop: minor whitespace regularizations ahead of adding vim modelines
(bzr r5738)
Diffstat (limited to 'share/extensions/funcplot.py')
| -rw-r--r-- | share/extensions/funcplot.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/share/extensions/funcplot.py b/share/extensions/funcplot.py index 24d6951b3..6abdd9c40 100644 --- a/share/extensions/funcplot.py +++ b/share/extensions/funcplot.py @@ -99,10 +99,10 @@ def drawfunction(xstart, xend, ybottom, ytop, samples, width, height, left, bott x0 = xstart y0 = f(xstart) if polar : - xp0 = y0 * cos( x0 ) - yp0 = y0 * sin( x0 ) - x0 = xp0 - y0 = yp0 + xp0 = y0 * cos( x0 ) + yp0 = y0 * sin( x0 ) + x0 = xp0 + y0 = yp0 if fponum or polar: # numerical derivative, using 0.001*step as the small differential x1 = xstart + ds # Second point AFTER first point (Good for first point) y1 = f(x1) |
