Thanks, Sam! There are some other packages having similar issues. I'll just 
wait for updates.

Xiaowei

在 2014年7月16日星期三UTC+8上午1时07分14秒,Sam L写道:
>
> Functions deprecated after 0.2 were removed from 0.3-rc1 recently, 
> including Base.add. The warning is happening because packages are trying to 
> import add from Base and it no longer exists. The warning does not actually 
> cause any issues and can be ignored in this case.  add(p, 
> FillBetween(x,c,x,s)) does not work because Winston does not export "add". 
> It did not need to before becase Base.add was already exported.
>
> Until the package is updated, as a workaround you can call do an import 
> Winston.add along with using Winston
>  or just call Winston.add(p, FillBetween(x,c,x,s)) instead of add.
>
> Sam
>
> On Tuesday, July 15, 2014 8:07:07 AM UTC-7, Xiaowei Zhang wrote:
>>
>> OS X 10.8.5 + Fresh installation of Julia 0.3rc1
>>
>> after installing Winston and import it, the warning "Could not import 
>> Base.add! into DataStructures" pops up and the `add` function in Winston 
>> cannot be used in the following example
>>
>>  x = linspace(0, 3pi, 100)
>>  c = cos(x)
>>  s = sin(x)
>>
>>  p = FramedPlot(
>>          title="title!",
>>          xlabel="\\Sigma x^2_i",
>>          ylabel="\\Theta_i")
>>
>>  add(p, FillBetween(x, c, x, s))
>>
>>

Reply via email to