summaryrefslogtreecommitdiff
path: root/graphics/asymptote/base/asymptote.py
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/asymptote/base/asymptote.py')
-rwxr-xr-xgraphics/asymptote/base/asymptote.py18
1 files changed, 7 insertions, 11 deletions
diff --git a/graphics/asymptote/base/asymptote.py b/graphics/asymptote/base/asymptote.py
index 19b72c5082..1a7aebd0fd 100755
--- a/graphics/asymptote/base/asymptote.py
+++ b/graphics/asymptote/base/asymptote.py
@@ -32,19 +32,15 @@ class asy:
self.send('quit');
self.session.stdin.close();
self.session.wait()
-
-
-
-
if __name__=="__main__":
- g = asy()
+ g=asy()
g.size(200)
- g.draw("unitcircle")
- g.send("draw(unitsquare)")
- g.fill("unitsquare, blue")
- g.clip("unitcircle")
- g.label("\"$O$\", (0,0), SW")
- raw_input("press ENTER to continue")
+ g.draw('unitcircle')
+ g.send('draw(unitsquare)')
+ g.fill('unitsquare,blue')
+ g.clip('unitcircle')
+ g.label('"$O$",(0,0),SW')
+ input('press ENTER to continue')
g.erase()
del g