I'm trying to lazily include PyPlot in a module.  I tried the following 
code:

function foo()
    require("PyPlot")
    PyPlot.plot([1:10])
end


This works when its evaluated in the REPL, but not when included in a 
package.  Is there a methodology for doing this?

Reply via email to