Merge pull request #2385 from daschw/hover

fix plotly hover in test image 6
This commit is contained in:
Daniel Schwabeneder 2020-02-08 16:16:00 +01:00 committed by GitHub
commit 461ef20225
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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"