diff --git a/doc/examples/leo_bridge_demo.leo b/doc/examples/leo_bridge_demo.leo index 9771bb2..dd59cbe 100644 --- a/doc/examples/leo_bridge_demo.leo +++ b/doc/examples/leo_bridge_demo.leo @@ -3,7 +3,7 @@ - + @@ -25,7 +25,8 @@ @chapters -@settings +@settings +@@string ipython_argv = ipython -pylab @enabled-plugins @ipy-startup @@ -44,11 +45,15 @@ strlist Direct variables -NewHeadline +NewHeadline bar +pylab tests +testarr +Call plotter on testarr + test stuff -@ipy-results +@ipy-results foo spam @@ -135,7 +140,8 @@ if 0: print "foo" else: print "bar" - + + @cl rfile hello @@ -501,5 +507,16 @@ Create 10 child nodes for baz, where i is headline and 'Hello ' + i is body: 12 +array([[1, 2, 3], + [2, 4, 6]]) +# press alt+i here to plot testarr + +plot(wb.testarr.v) + +Quickstart: + easy_install numpy + easy_install matplotlib + +Make sure you have '@string ipython-argv = ipython -pylab' in @settings. We currently recommend using TkAgg as the backend (it's also the default)