summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/asymptote/asymptote.py
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-03-01 23:10:25 +0000
committerKarl Berry <karl@freefriends.org>2020-03-01 23:10:25 +0000
commit81abf43d2b32106102462c3fd1b6c52c0b74f6b7 (patch)
tree8ff3cf992c81a46d17219ac528c3cb6fe7467402 /Master/texmf-dist/asymptote/asymptote.py
parent668f13d96ea148cade89c8813883c8b5a90cb55e (diff)
asymptote 2.62 support files
git-svn-id: svn://tug.org/texlive/trunk@53988 c570f23f-e606-0410-a88d-b1316a301751
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