diff --git a/doc/examples/leo_bridge_demo.leo b/doc/examples/leo_bridge_demo.leo index dd59cbe..ca4aa17 100644 --- a/doc/examples/leo_bridge_demo.leo +++ b/doc/examples/leo_bridge_demo.leo @@ -3,7 +3,7 @@ - + @@ -48,7 +48,8 @@ NewHeadline bar -pylab tests +pylab tests +Generate testarr testarr Call plotter on testarr @@ -507,8 +508,10 @@ Create 10 child nodes for baz, where i is headline and 'Hello ' + i is body: 12 -array([[1, 2, 3], - [2, 4, 6]]) +array([[ 0, 1, 2], + [ 3, 4, 5], + [ 6, 7, 8], + [ 9, 10, 11]]) # press alt+i here to plot testarr plot(wb.testarr.v) @@ -518,5 +521,8 @@ plot(wb.testarr.v) 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) +#press alt+i here to generate an array for plotter + +wb.testarr.v = arange(12).reshape(4,3)