I am using Plots with the plotly() backend for plotting a time vector against a vector containing 10 vectors using the following:
plot(time_vect, dataMat, hover = time_vect, layout = (10,1))
This works fine on both my computers and with 10 subplots as expected. However when I try to link axis with the following:
plot(time_vect, dataMat, hover = time_vect, layout = (10,1), link = :x)
it works fine on one windows 10 machine, but on the other windows 10 machine I get the following error:
julia> plot(time_vect, dataMat, hover = time_vect, layout = (10,1), link = :x)
ERROR: MethodError: no method matching iterate(::Symbol)
Closest candidates are:
iterate(::Core.SimpleVector) at essentials.jl:603
iterate(::Core.SimpleVector, ::Any) at essentials.jl:603
iterate(::ExponentialBackOff) at error.jl:253
…
Stacktrace:
[1] isempty(::Symbol) at .\essentials.jl:739
[2] _update_axis_links(::Plots.Plot{Plots.PlotlyBackend}, ::Plots.Axis, ::Symbol) at C:\Users\jason.julia\packages\Plots\Vfmes\src\args.jl:1480
[3] _update_axis(::Plots.Plot{Plots.PlotlyBackend}, ::Plots.Subplot{Plots.PlotlyBackend}, ::Dict{Symbol,Any}, ::Symbol, ::Int64) at C:\Users\jason.julia\packages\Plots\Vfmes\src\args.jl:1439
[4] _update_subplot_args(::Plots.Plot{Plots.PlotlyBackend}, ::Plots.Subplot{Plots.PlotlyBackend}, ::Dict{Symbol,Any}, ::Int64, ::Bool) at C:\Users\jason.julia\packages\Plots\Vfmes\src\args.jl:1503
[5] _subplot_setup(::Plots.Plot{Plots.PlotlyBackend}, ::Dict{Symbol,Any}, ::Array{Dict{Symbol,Any},1}) at C:\Users\jason.julia\packages\Plots\Vfmes\src\pipeline.jl:273
[6] plot_setup! at C:\Users\jason.julia\packages\Plots\Vfmes\src\pipeline.jl:157 [inlined]
[7] recipe_pipeline!(::Plots.Plot{Plots.PlotlyBackend}, ::Dict{Symbol,Any}, ::Tuple{StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Array{Any,1}}) at C:\Users\jason.julia\packages\RecipesPipeline\5b2IP\src\RecipesPipeline.jl:85
[8] _plot!(::Plots.Plot{Plots.PlotlyBackend}, ::Dict{Symbol,Any}, ::Tuple{StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Array{Any,1}}) at C:\Users\jason.julia\packages\Plots\Vfmes\src\plot.jl:167
[9] plot(::StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}}, ::Vararg{Any,N} where N; kw::Base.Iterators.Pairs{Symbol,Any,Tuple{Symbol,Symbol,Symbol},NamedTuple{(:hover, :layout, :link),Tuple{StepRangeLen{Float64,Base.TwicePrecision{Float64},Base.TwicePrecision{Float64}},Tuple{Int64,Int64},Symbol}}}) at C:\Users\jason.julia\packages\Plots\Vfmes\src\plot.jl:57
[10] top-level scope at none:0
I have done an update of all packages with “] update”.
Why would it work on one but not the other?
Any suggestions on what else I can try before I try a clean reinstall of Julia and all packages?