Hi,
If I use this  plot in terminal julia it works fine, but in IJulia it does 
an error.
Any help
Thanks
HG

using Plots
pyplot(reuse=true)
x=y=linspace(-5,5,30)
surface(x,y,(x,y)->sin(x)+cos(y),
    line=(1,:black),fill=(0.8,:rainbow),
    tickfont=font(8),guidefont=font(6),
    title="graphe",xlab="X",ylab="Y",
    size=(400,300))


PyError (:PyObject_Call) <type 'exceptions.IOError'>
IOError('Julia exception: MethodError(flush,(IOBuffer(data=UInt8[...], 
readable=true, writable=true, seekable=true, append=false, size=225292, 
maxsize=Inf, ptr=225293, mark=-1),))',)
  File "/usr/lib/python2.7/dist-packages/matplotlib/backend_bases.py", line 
2232, in print_figure
    **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_svg.py", 
line 1206, in print_svg
    return self._print_svg(filename, svgwriter, fh_to_close, **kwargs)
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_svg.py", 
line 1235, in _print_svg
    renderer.finalize()
  File "/usr/lib/python2.7/dist-packages/matplotlib/backends/backend_svg.py", 
line 295, in finalize
    self.writer.flush()
  File "PyCall.jl", line 1, in <lambda>


Reply via email to