Hi,
I've been trying out the Juno plugin after finding out that Julia Studio
unfortunately doesn't work well for me at the moment. Juno seems really
nice, and I'd highly recommend checking it out. However, I have some issues
with plotting and the REPL.
First, the plotting. Gadfly seems to work well with Juno, but I'd rather be
using PyPlot to be honest. Unfortunately PyPlot doesn't work for me in
Juno. I've made a minimal working example that works fine in the regular
Julia REPL:
using PyPlot
plot([0 1]', [0 1]')
Now, the first line executes nicely in Juno, but the second one results in
an exception,
*PyError (PyObject_Call) RuntimeError('Julia exception:
> UndefVarError(:htmlimage)',) File
> "/Users/username/anaconda3/lib/python3/site-packages/matplotlib/pyplot.py",
> line 3094, in plot draw_if_interactive()*
> in pyerr_check at exception.jl:58
> in pycall at PyCall.jl:85
> in plot at PyPlot.jl:314
>
Second, I've tried to connect Juno with the Julia REPL in the Terminal, as
described here
<https://github.com/one-more-minute/Juno-LT/wiki/Connecting-to-the-Terminal-and-IJulia>,
in order to have an interactive console in addition to Juno. But when I do,
it dumps out errors on my Julia command line,
WARNING: Can't handle command julia.set-default-client
>
> WARNING: LightTable.jl: global_client not defined
> in anonymous at /Users/*username*
> /.julia/v0.3/Jewel/src/LightTable/misc.jl:11
> in handle_cmd at /Users/*username*
> /.julia/v0.3/Jewel/src/LightTable/LightTable.jl:65
> in server at /Users/*username*
> /.julia/v0.3/Jewel/src/LightTable/LightTable.jl:22
> in server at /Users/*username*/.julia/v0.3/Jewel/src/Jewel.jl:16
> in anonymous at task.jl:340
>
At this point, I can still run execute Julia commands in Juno and on the
Terminal REPL, but the latter kind of warning pops up regularly.
Any tips on any of these issues? My setup is:
- Mac OS X 10.9.4
- Julia 0.3.0, with the latest version of all packages as given by
Pkg.update()
- LightTable 0.6.7 with Juno/Julia plugin version 0.8.0
- Anaconda Python 3.4 distribution with Python 3.4.1 and Matplotlib 1.4.0