It works for me:
julia> time_vect=[1,2,3]
3-element Array{Int64,1}:
1
2
3
julia> dataMat=[2 2 2;3 3 3;4 4 4]
3×3 Array{Int64,2}:
2 2 2
3 3 3
4 4 4
julia> using Plots
julia> plotly()
[ Info: For saving to png with the Plotly backend ORCA has to be installed.
Plots.PlotlyBackend()
julia> plot(time_vect, dataMat, hover = time_vect, layout = (3,1), link=:x)
gives:
What you see above is a MWE (minimal working example), because others can just copy&paste the code to try and find issues.
Now whats needed next is your MNWE (minimal non working example). There is probably something wrong in your data, which results in the error.
See also
julia> versioninfo()
Julia Version 1.4.1
Commit 381693d3df* (2020-04-14 17:20 UTC)
Platform Info:
OS: Windows (x86_64-w64-mingw32)
CPU: AMD Ryzen 5 3600 6-Core Processor
WORD_SIZE: 64
LIBM: libopenlibm
LLVM: libLLVM-8.0.1 (ORCJIT, znver1)
(@v1.4) pkg> st
Status `C:\Users\USER\.julia\environments\v1.4\Project.toml`
...
[91a5bcdd] Plots v1.2.6
...