Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66eade7

Browse files
committed
Changed hover event to check if subplot === pie
1 parent 8e511fc commit 66eade7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/plots/cartesian/graph_interact.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ fx.unhover = function (gd, evt, subplot) {
309309
// The actual implementation is here:
310310

311311
function hover(gd, evt, subplot){
312-
if(gd._fullLayout._hasPie){
312+
if(subplot === 'pie'){
313313
gd.emit('plotly_hover', {
314314
points: [evt]
315315
});

0 commit comments

Comments
 (0)