Merge pull request #2378 from daschw/plotly-hover
show datapoints on hover by default for plotly
This commit is contained in:
commit
b5f54afed2
@ -780,9 +780,9 @@ end
|
||||
|
||||
function plotly_hover!(plotattributes_out::KW, hover)
|
||||
# hover text
|
||||
if hover in (:none, false)
|
||||
if all(in([:none, false]), hover)
|
||||
plotattributes_out[:hoverinfo] = "none"
|
||||
elseif hover !== nothing
|
||||
elseif any(!isnothing, hover)
|
||||
plotattributes_out[:hoverinfo] = "text"
|
||||
plotattributes_out[:text] = hover
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user