plot 在 atom 中给出错误但在 jupyter-notebook 上工作正常是否有原因?
Is there a reason why plot gives an error in atom but works fine on jupyter-notebook?
我是 Julia 的新用户。我想开始使用 Juno 在 Atom 中使用 Julia。在我使用 jupyter-notebooks 做一些教程之前。
现在,当我尝试 运行 它下面的代码时 returns 以下错误消息。
当我 运行 相同的代码,在 jupyter-notebook 的同一台机器上时,我没有收到错误。
网上有很多人遇到同样的错误,但 none 的解决方案可以帮助我。在我看来,绘图的问题没有正确预编译。
例如:Plot not defined with Julia
using Plots
x = 1:10;
y = rand(10); # These are the plotting data
plot(x,y)
UndefVarError:绘图未定义
testatom.jl:3
的顶级范围
这应该可以,试试重建地块?
using Pkg;pkg”build Plots”
也执行原子中建议的任何更新。
另外,哪个版本的 julia?请注意 link 已经很老了...
我是 Julia 的新用户。我想开始使用 Juno 在 Atom 中使用 Julia。在我使用 jupyter-notebooks 做一些教程之前。 现在,当我尝试 运行 它下面的代码时 returns 以下错误消息。 当我 运行 相同的代码,在 jupyter-notebook 的同一台机器上时,我没有收到错误。
网上有很多人遇到同样的错误,但 none 的解决方案可以帮助我。在我看来,绘图的问题没有正确预编译。 例如:Plot not defined with Julia
using Plots
x = 1:10;
y = rand(10); # These are the plotting data
plot(x,y)
UndefVarError:绘图未定义 testatom.jl:3
的顶级范围这应该可以,试试重建地块?
using Pkg;pkg”build Plots”
也执行原子中建议的任何更新。
另外,哪个版本的 julia?请注意 link 已经很老了...