That's what I get,any help  :
Pkg.checkout("Plots")
Pkg.checkout("PlotRecipes")


using Plots, PlotRecipes
pyplot()
import Plots: _apply_recipe, KW
immutable F
   f::Function
end
getf(f::F) = f.f
--------------------

WARNING: could not import Plots._apply_recipe into Main

-----------------------
_apply_recipe(d::KW, f::F, args...; kw...) = (f.f, args...)
plot(F(sin), 0, 4π)
-------------------
[Plots.jl] Initializing backend: pyplot

LoadError: In convertToAnyVector, could not handle the argument types: (F,)
while loading In[6], in expression starting on line 3

 [inlined code] from /home/pi/.julia/v0.4/Plots/src/series_new.jl:86
 in apply_recipe at /home/pi/.julia/v0.4/RecipesBase/src/RecipesBase.jl:235
 in _plot! at /home/pi/.julia/v0.4/Plots/src/plot.jl:312
 in plot at /home/pi/.julia/v0.4/Plots/src/plot.jl:52


​


Reply via email to