I'm having a similar problem.

Here's what used to work in IJulia Notebook, but now doesn't:


*using PyPlot*
*plot([0 1])*

which results in the following error message:

============================

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

============================


Perhaps foolishly, I've upgraded to julia v3.0, ijulia (i.e. ipython) v2.2, 
and python v2.7.8.

Any suggestions?

Reply via email to