JuliaPy / JuliaPy/PyPlot.jl

clearer error message for default MacOS matplotlib

Open
#103 17 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Julia
Stars
488
Forks
90
PR merge metrics
No merged PRs in 30d

Description

I've imported the PyPlot module like so:
`using PyCall`
`pygui(:tk)`
`using PyPlot`

I then try to use the plot function:
`x=1:10; y=sin(x);`
`plot(x,y)`

But I get this error:
`pltm not defined`
`while loading In[14], in expression starting on line 1`

`in abstract_eval_global at ./inference.jl:1027`
`in abstract_eval_symbol at ./inference.jl:1066`
`in abstract_eval at ./inference.jl:919`
`in abstract_eval_arg at ./inference.jl:866`
`in abstract_eval_call at ./inference.jl:878`
`in abstract_eval at ./inference.jl:935`
`in abstract_eval_arg at ./inference.jl:866`
`in abstract_eval_call at ./inference.jl:878`
`in abstract_eval at ./inference.jl:935`
`in abstract_interpret at ./inference.jl:1107`
`in typeinf at ./inference.jl:1409`
`in typeinf at /Users/tre11/git/julia/usr/lib/julia/sys.dylib`
`in typeinf_ext at ./inference.jl:1216`

This is in the latest stable version of Julia 0.3.4-pre+8, and latest stable versions of python, ipython, matpplotlib, etc.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.