在我每天第一次引用Gadfly库时,IDE会发来一堆的警告呀
Warning: could not import Base.foldl into NumericExtensions
Warning: could not import Base.foldr into NumericExtensions
Warning: could not import Base.sum! into NumericExtensions
Warning: could not import Base.maximum! into NumericExtensions
Warning: could not import Base.minimum! into NumericExtensions
Warning: New definition
concrete_minmax(DataArray{TA,N},T,T) at C:\Users\Administrator\.julia\Gadfly\src\misc.jl:149
is ambiguous with:
concrete_minmax(Any,T<:Real,T<:Real) at C:\Users\Administrator\.julia\Gadfly\src\misc.jl:100.
To fix, define
concrete_minmax(DataArray{TA,N},T,T)
before the new definition.
据说,此后果是,plot()函数不能直接使用,得加上一个draw()了。
这个问题在
http://stackoverflow.com/questions/21799706/gadfly-in-julia-on-mint
也有人提到过,但是没有人提出解决方案!期待中!