On Tuesday, November 24, 2015 at 2:03:20 AM UTC+8, Tony Kelman wrote:
>
> Try using dirname(@__FILE__) instead of Pkg.dir


Thanks Tony. That did the trick. I am getting closer to having a decent 
package now.

You should be able to 


julia>Pkg.clone("https://github.com/EricForgy/PlotlyJS.jl.git";)
julia> using PlotlyJS
Listening on 0.0.0.0:8000...


Then open any browser to http://localhost:8000/plot.ly and run


julia> include(Pkg.dir("plotlyJS","test","runtests.jl"))
 

You should see this nice interactive chart:

<https://lh3.googleusercontent.com/-ws97vPE56RI/VlRDj6PYviI/AAAAAAAAAKo/in0YZqegXTA/s1600/PlotlyJS_II.png>

It can now handle both Plotly.plot and Plotly.newPlot. Feedback welcome.

Reply via email to