Plot Winston Julia-警告:不推荐使用的语法

Plot Winston Julia-警告:不推荐使用的语法,plot,julia,winston,Plot,Julia,Winston,我正在尝试使用Winston绘图软件包。当我这样做时,我会收到以下警告: using Winston Winston.plot(x -> sin(x)*x,0,2) Winston.grid() WARNING: deprecated syntax "AbstractVecOrMat{T} (" at /home/jmarcellopereira/.julia/v0.4/Winston/src/Winston.jl:96. Use "AbstractVecOrMat{T}(" inst

我正在尝试使用Winston绘图软件包。当我这样做时,我会收到以下警告:

using Winston

Winston.plot(x -> sin(x)*x,0,2)
Winston.grid()

WARNING: deprecated syntax "AbstractVecOrMat{T} (" at /home/jmarcellopereira/.julia/v0.4/Winston/src/Winston.jl:96.
Use "AbstractVecOrMat{T}(" instead.
WARNING: requiring "Dates" in module "Winston" did not define a corresponding module.
WARNING: module Winston should explicitly import * from Base
WARNING: both Winston and SymPy export "Curve"; uses of it in module Main must be qualified

这些是什么意思?它们会阻止生成我的绘图吗?

您使用的上述代码在我的计算机上仍然可以正常工作(使用Julia 0.4.6)。这些警告只是因为温斯顿最近没有更新。自上次更新以来,底层的Julia代码发生了变化,Winston还没有完全适应这些变化。除非您自愿帮助开发Winston软件包,否则您无法“修复”这些警告


在这种情况下,这些问题不会阻止您完成所需的绘图,但会警告您在其他设置中可能会遇到问题。

看起来Winston已经有一段时间没有更新了,为什么不尝试其他绘图包,例如Plots.jl?无论如何,这只是一个警告,而不是一个错误。