Hi folks,
I'm giving a talk tomorrow at LBL about IPython, and wanted to demo
IJulia with Jeff's notebook, but I'm having trouble both with pyplot
and compose:
1. I ran
julia> Pkg2.add("PyPlot")
INFO: Cloning cache of PyPlot from git://
github.com/stevengj/PyPlot.jl.git
INFO: Cloning cache of Color from git://
github.com/JuliaLang/Color.jl.git
INFO: Installing PyPlot v1.0.11
INFO: Installing Color v0.2.6
INFO: REQUIRE updated.
and in the notebook the pyplot code all runs fine, but the imshow call
just gives me this:
In [4]: imshow(m, cmap="RdGy", extent=[-1.5,1.5,-1,1])
Out[4]:
PyObject <matplotlib.image.AxesImage object at 0x7aa8a90>
with no figure displayed at all.
2. I installed compose with:
julia> Pkg2.add("Compose")
INFO: Cloning cache of Compose from git://
github.com/dcjones/Compose.jl.git
INFO: Cloning cache of DataFrames from
git://
github.com/JuliaStats/DataFrames.jl.git
INFO: Cloning cache of Blocks from git://
github.com/tanmaykm/Blocks.jl.git
INFO: Cloning cache of GZip from git://
github.com/kmsquire/GZip.jl.git
INFO: Cloning cache of Mustache from git://
github.com/jverzani/Mustache.jl.git
INFO: Cloning cache of SortingAlgorithms from
git://
github.com/JuliaLang/SortingAlgorithms.jl.git
INFO: Cloning cache of Stats from git://
github.com/JuliaStats/Stats.jl.git
INFO: Installing Compose v0.1.11
INFO: Installing DataFrames v0.3.12
INFO: Installing Blocks v0.0.0
INFO: Installing GZip v0.2.5
INFO: Installing Mustache v0.0.0
INFO: Installing SortingAlgorithms v0.0.0
INFO: Installing Stats v0.2.7
INFO: REQUIRE updated.
but in that cell I get this:
In [5]: using Compose
Iterators not found
at /home/fperez/.julia/Compose/src/Compose.jl:3
at In[5]:1
in require at loading.jl:46
in include at boot.jl:238
This is all using a Julia build from today:
Version 0.2.0-prerelease+3843
Commit 61f8aba* 2013-09-25 23:47:55 UTC
and where I completely nuked my ~/.julia directory before starting.
Any thoughts/pointers? I can always use something else for a demo,
and I have some older examples with Julia, but I thought it would be
nice to use this one that really shows the native Julia machinery in
its full glory.
Thanks!
f
--
Fernando Perez (@fperez_org;
http://fperez.org)
fperez.net-at-gmail: mailing lists only (I ignore this when swamped!)
fernando.perez-at-berkeley: contact me here for any direct mail