Update src/backends/plotly.jl [skip ci]

Co-authored-by: t-bltg <tf.bltg@gmail.com>
This commit is contained in:
Simon Christ 2022-03-29 17:41:54 +02:00 committed by GitHub
parent 2c54cf94c6
commit 6c578803fb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1020,7 +1020,7 @@ function plotly_polar!(plotattributes_out::KW, series::Series)
end
function plotly_adjust_hover_label!(plotattributes_out::KW, hover)
if isnothing(hover)
if hover === nothing
return nothing
elseif all(in([:none, false]), hover)
plotattributes_out[:hoverinfo] = "none"