JuliaPy / JuliaPy/PyPlot.jl

clearer error message for default MacOS matplotlib

Ouverte
#103 17 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
enhancement
Langage dominant
Julia
Étoiles
488
Forks
90
Métriques de merge des PR
Aucune PR mergée en 30 j

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.

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Piste de recherche

Start by reproducing the reported Julia 0.3.4 sequence with PyCall, pygui(:tk), PyPlot, and plot(x,y) on macOS. Trace where the `pltm not defined` error is produced; done means the default macOS matplotlib setup reports a clear, actionable error.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
julia, macos, python
Domaine
data-visualization
Type d'issue
Bug
Difficulté
3/5
Temps estimé
1-2 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
35/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.