It seems that Gadly cannot handle Time on the x-axis (from Dates) as shown below. Would there be a package that could plug that hole? Or do I have to use Period instead as suggested by the error message? Or am I missing something entirely?
julia> x = [Time(9,m) for m in 0:5:55]
12-element Vector{Time}:
09:00:00
09:05:00
09:10:00
09:15:00
09:20:00
09:25:00
09:30:00
09:35:00
09:40:00
09:45:00
09:50:00
09:55:00
julia> y = [i^2 for i in 1:12]
12-element Vector{Int64}:
1
4
9
16
25
36
49
64
81
100
121
144
julia> plot(x=x, y=y)
Error showing value of type Plot:
ERROR: MethodError: no method matching one(::Type{Time})
Closest candidates are:
one(::Union{Type{T}, T}) where T<:AbstractString at strings/basic.jl:262
one(::Union{Type{P}, P}) where P<:Period at /Users/julia/buildbot/worker/package_macos64/build/usr/share/julia/stdlib/v1.6/Dates/src/periods.jl:54
one(::CartesianIndex) at deprecated.jl:70
...
With Julia Version 1.6.3 and just installed Gadfly v1.3.4