fix plotly hover in test image 6

This commit is contained in:
Daniel Schwabeneder 2020-02-07 23:12:34 +01:00
parent 85aca2aa67
commit fc40b0e0ac

View File

@ -780,7 +780,7 @@ end
function plotly_hover!(plotattributes_out::KW, hover)
# hover text
if all(in([:none, false]), hover)
if hover === nothing || all(in([:none, false]), hover)
plotattributes_out[:hoverinfo] = "none"
elseif any(!isnothing, hover)
plotattributes_out[:hoverinfo] = "text"