##// END OF EJS Templates
ileo: have pylab use as example in leo_bridge_demo.leo
Ville M. Vainio -
Show More
@@ -3,7 +3,7 b''
3 <leo_file>
3 <leo_file>
4 <leo_header file_format="2" tnodes="0" max_tnode_index="0" clone_windows="0"/>
4 <leo_header file_format="2" tnodes="0" max_tnode_index="0" clone_windows="0"/>
5 <globals body_outline_ratio="0.307814992026">
5 <globals body_outline_ratio="0.307814992026">
6 <global_window_position top="311" left="261" height="627" width="1280"/>
6 <global_window_position top="256" left="325" height="627" width="1280"/>
7 <global_log_window_position top="0" left="0" height="0" width="0"/>
7 <global_log_window_position top="0" left="0" height="0" width="0"/>
8 </globals>
8 </globals>
9 <preferences/>
9 <preferences/>
@@ -25,7 +25,8 b''
25 </v>
25 </v>
26 </v>
26 </v>
27 <v t="vivainio.20080218184525"><vh>@chapters</vh></v>
27 <v t="vivainio.20080218184525"><vh>@chapters</vh></v>
28 <v t="vivainio.20080223133721"><vh>@settings</vh>
28 <v t="vivainio.20080223133721" a="E"><vh>@settings</vh>
29 <v t="vivainio.20080316092617"><vh>@@string ipython_argv = ipython -pylab</vh></v>
29 <v t="vivainio.20080223133721.1"><vh>@enabled-plugins</vh></v>
30 <v t="vivainio.20080223133721.1"><vh>@enabled-plugins</vh></v>
30 </v>
31 </v>
31 <v t="vivainio.20080218184540"><vh>@ipy-startup</vh>
32 <v t="vivainio.20080218184540"><vh>@ipy-startup</vh>
@@ -44,11 +45,15 b''
44 <v t="vivainio.20080219225804"><vh>strlist</vh></v>
45 <v t="vivainio.20080219225804"><vh>strlist</vh></v>
45 </v>
46 </v>
46 <v t="vivainio.20080218201219" a="E"><vh>Direct variables</vh>
47 <v t="vivainio.20080218201219" a="E"><vh>Direct variables</vh>
47 <v t="vivainio.20080222201226" a="TV"><vh>NewHeadline</vh></v>
48 <v t="vivainio.20080222201226"><vh>NewHeadline</vh></v>
48 <v t="vivainio.20080218201219.2"><vh>bar</vh></v>
49 <v t="vivainio.20080218201219.2"><vh>bar</vh></v>
49 </v>
50 </v>
51 <v t="vivainio.20080316144536" a="ETV"><vh>pylab tests</vh>
52 <v t="vivainio.20080316085925"><vh>testarr</vh></v>
53 <v t="vivainio.20080316085950"><vh>Call plotter on testarr</vh></v>
54 </v>
50 <v t="vivainio.20080222202211"><vh>test stuff</vh></v>
55 <v t="vivainio.20080222202211"><vh>test stuff</vh></v>
51 <v t="vivainio.20080223142403" a="E"><vh>@ipy-results</vh>
56 <v t="vivainio.20080223142403"><vh>@ipy-results</vh>
52 <v t="vivainio.20080223142403.1"><vh>foo</vh></v>
57 <v t="vivainio.20080223142403.1"><vh>foo</vh></v>
53 </v>
58 </v>
54 <v t="vivainio.20080222202211.1" a="E"><vh>spam</vh></v>
59 <v t="vivainio.20080222202211.1" a="E"><vh>spam</vh></v>
@@ -135,7 +140,8 b' if 0:'
135 print "foo"
140 print "foo"
136 else:
141 else:
137 print "bar"
142 print "bar"
138 </t>
143
144 </t>
139 <t tx="vivainio.20080222202211"></t>
145 <t tx="vivainio.20080222202211"></t>
140 <t tx="vivainio.20080222202211.1" ipython="7d71005506636f6f7264737101284b0c4bde747102732e">@cl rfile
146 <t tx="vivainio.20080222202211.1" ipython="7d71005506636f6f7264737101284b0c4bde747102732e">@cl rfile
141 hello
147 hello
@@ -501,5 +507,16 b" Create 10 child nodes for baz, where i is headline and 'Hello ' + i is body:"
501 </t>
507 </t>
502 <t tx="vivainio.20080223142403"></t>
508 <t tx="vivainio.20080223142403"></t>
503 <t tx="vivainio.20080223142403.1">12</t>
509 <t tx="vivainio.20080223142403.1">12</t>
510 <t tx="vivainio.20080316085925">array([[1, 2, 3],
511 [2, 4, 6]])</t>
512 <t tx="vivainio.20080316085950"># press alt+i here to plot testarr
513
514 plot(wb.testarr.v)</t>
515 <t tx="vivainio.20080316092617"></t>
516 <t tx="vivainio.20080316144536">Quickstart:
517 easy_install numpy
518 easy_install matplotlib
519
520 Make sure you have '@string ipython-argv = ipython -pylab' in @settings. We currently recommend using TkAgg as the backend (it's also the default)</t>
504 </tnodes>
521 </tnodes>
505 </leo_file>
522 </leo_file>
General Comments 0
You need to be logged in to leave comments. Login now