julia> using PyPlot
WARNING: No working GUI backend found for matplotlib.
INFO: Loading help data...
ipython (2.2.0)
matplotlib (1.3.1)
PyError (PyObject_Call) <type 'exceptions.TypeError'>
TypeError('Julia exception: TypeError(:draw_if_interactive,"if",Bool,0)',)
File "/usr/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 3086, in plot
ax = gca()
File "/usr/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 827, in gca
ax = gcf().gca(**kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 461, in gcf
return figure()
File "/usr/local/lib/python2.7/site-packages/matplotlib/pyplot.py", line 450, in figure
draw_if_interactive()
while loading In[2], in expression starting on line 1
in pyerr_check at /Users/ubi/.julia/v0.3/PyCall/src/exception.jl:58
in pycall at /Users/ubi/.julia/v0.3/PyCall/src/PyCall.jl:85
in plot at /Users/ubi/.julia/v0.3/PyPlot/src/PyPlot.jl:290============================
I'm having a similar problem.Here's what used to work in IJulia Notebook, but now doesn't:
[...]
use Matplotlib 1.3.
Could not find any downloads that satisfy the requirement matplotlib-1.3
The problem is that PyPlot doesn't currently work with Matplotlib 1.4; see
https://github.com/stevengj/PyPlot.jl/issues/79
Hopefully I'll be able to fix this soon, but for now you probably need to use Matplotlib 1.3.