From fc40b0e0ac16c5bd735b4f13412acc1e1a0b41b4 Mon Sep 17 00:00:00 2001 From: Daniel Schwabeneder Date: Fri, 7 Feb 2020 23:12:34 +0100 Subject: [PATCH] fix plotly hover in test image 6 --- src/backends/plotly.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/backends/plotly.jl b/src/backends/plotly.jl index e807ea38..47f03771 100644 --- a/src/backends/plotly.jl +++ b/src/backends/plotly.jl @@ -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"