It seems like vline and hline have problems with ticks=:native
in Plotly.
using Plots
plotly()
plt1 = plot(ticks=:native)
plot!(plt1, [now()], [1])
vline!(plt1, [now()])
Doesn’t work but without the vline!
it does. The error is:
Failed to show value:
InexactError: Int64(NaN)
- Int64 @ float.jl:812 [inlined]
- convert @ number.jl:7 [inlined]
- Millisecond @ types.jl:61 [inlined]
- UTM @ types.jl:103 [inlined]
-
datetimeformatter @ recipes.jl:7 [inlined]
…
Similarly with hline
which shouldn’t be affected by DateTime
but seem to be affected by it.