-
-
Notifications
You must be signed in to change notification settings - Fork 409
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PyPlot not working in IJulia #192
Comments
I haven't seen this error before. How did you install matplotlib? |
(Probably a PyPlot issue rather than an IJulia issue.) |
I used easy_install. |
I wasn't sure where to post this error message, since PyPlot works fine, if I call it from the command line. |
Closing in favor of JuliaPy/PyPlot.jl#62 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am using IJulia 0.1.12 with PyPlot 1.2.7 on Mac OS X 10.9.3, Safari 7.0.4 and julia 0.3.0-prerelease+3679
The following lines work well when I call them from the command line:
using PyPlot
plot(rand(10))
but give me the following errors, when I call them from within IJulia:
INFO: Loading help data...
PyError (PyObject_Call) <type 'exceptions.RuntimeError'>
RuntimeError('Could not create write struct',)
File "/usr/local/lib/python2.7/site-packages/matplotlib/backend_bases.py", line 2167, in print_figure
**kwargs)
File "/usr/local/lib/python2.7/site-packages/matplotlib/backends/backend_agg.py", line 517, in print_png
filename_or_obj, self.figure.dpi)
in pyerr_check at /Users/me/.julia/v0.3/PyCall/src/exception.jl:58
in pycall at /Users/me/.julia/v0.3/PyCall/src/PyCall.jl:85
in fn at /Users/me/.julia/v0.3/PyCall/src/conversions.jl:181
in writemime at /Users/zahmeedi/.julia/v0.3/PyPlot/src/PyPlot.jl:141
in base64 at base64.jl:125
in display_dict at /Users/me/.julia/v0.3/IJulia/src/execute_request.jl:34
in display at /Users/me/.julia/v0.3/IJulia/src/inline.jl:35
in display at multimedia.jl:149
in display at /Users/me/.julia/v0.3/IJulia/src/inline.jl:56
The text was updated successfully, but these errors were encountered: