@@ -19,9 +19,7 @@ g.on_click(callback, remove=False)
19
19
of the graph widget that this callback is assigned to.
20
20
21
21
click_obj (dict ): a nested dict that describes
22
- which point(s) were clicked on and also
23
- contains the full trace (' data' ) that the
24
- points belong to.
22
+ which point(s) were clicked on.
25
23
26
24
click_obj example:
27
25
{
@@ -33,23 +31,7 @@ g.on_click(callback, remove=False)
33
31
' curveNumber' : 1 ,
34
32
' pointNumber' : 2 ,
35
33
' x' : 4 ,
36
- ' y' : 14 ,
37
- ' data' : {
38
- ' line' : {
39
- ' color' : ' rgb(31, 138, 112)' ,
40
- ' width' : 3
41
- },
42
- ' marker' : {
43
- ' color' : ' rgb(31, 138, 112)' ,
44
- ' size' : 10 ,
45
- ' symbol' : ' hexagon-open'
46
- },
47
- ' name' : ' Experiment' ,
48
- ' type' : ' scatter' ,
49
- ' uid' : ' 346c6b' ,
50
- ' x' : [1 , 2 , 4 ],
51
- ' y' : [5 , 8 , 14 ]
52
- }
34
+ ' y' : 14
53
35
}
54
36
],
55
37
' type' : ' hover'
@@ -93,8 +75,7 @@ g.on_hover(callback, remove=False)
93
75
of the graph widget that this callback is assigned to.
94
76
95
77
hover_obj (dict ): a nested dict that describes
96
- which point(s) was hovered over and also
97
- contains the full trace (' data' ) that the
78
+ which point(s) was hovered over that the
98
79
points belong to.
99
80
100
81
hover_obj example:
@@ -107,23 +88,7 @@ g.on_hover(callback, remove=False)
107
88
' curveNumber' : 1 ,
108
89
' pointNumber' : 2 ,
109
90
' x' : 4 ,
110
- ' y' : 14 ,
111
- ' data' : {
112
- ' line' : {
113
- ' color' : ' rgb(31, 138, 112)' ,
114
- ' width' : 3
115
- },
116
- ' marker' : {
117
- ' color' : ' rgb(31, 138, 112)' ,
118
- ' size' : 10 ,
119
- ' symbol' : ' hexagon-open'
120
- },
121
- ' name' : ' Experiment' ,
122
- ' type' : ' scatter' ,
123
- ' uid' : ' 346c6b' ,
124
- ' x' : [1 , 2 , 4 ],
125
- ' y' : [5 , 8 , 14 ]
126
- }
91
+ ' y' : 14
127
92
}
128
93
],
129
94
' type' : ' hover'
0 commit comments