JuliaPy / JuliaPy/PyPlot.jl

clearer error message for default MacOS matplotlib

オープン
#103 コメント 17 件 リアクション 0 件 担当者 0 名 GitHub で見る
enhancement
主要言語
Julia
スター
488
フォーク
90
PR マージ指標
30日以内にマージされた PR はありません

説明

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.

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
julia, macos, python
領域
data-visualization
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。