summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/asymptote.py
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/asymptote/asymptote.py')
-rw-r--r--Master/texmf-dist/asymptote/asymptote.py18
1 files changed, 7 insertions, 11 deletions
diff --git a/Master/texmf-dist/asymptote/asymptote.py b/Master/texmf-dist/asymptote/asymptote.py
index 19b72c50826..1a7aebd0fd2 100644
--- a/Master/texmf-dist/asymptote/asymptote.py
+++ b/Master/texmf-dist/asymptote/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