fix plotly hover in test image 6
This commit is contained in:
parent
85aca2aa67
commit
fc40b0e0ac
@ -780,7 +780,7 @@ end
|
|||||||
|
|
||||||
function plotly_hover!(plotattributes_out::KW, hover)
|
function plotly_hover!(plotattributes_out::KW, hover)
|
||||||
# hover text
|
# hover text
|
||||||
if all(in([:none, false]), hover)
|
if hover === nothing || all(in([:none, false]), hover)
|
||||||
plotattributes_out[:hoverinfo] = "none"
|
plotattributes_out[:hoverinfo] = "none"
|
||||||
elseif any(!isnothing, hover)
|
elseif any(!isnothing, hover)
|
||||||
plotattributes_out[:hoverinfo] = "text"
|
plotattributes_out[:hoverinfo] = "text"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user