File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,7 @@ def draw_bar(self, coll):
243
243
for old , new in zip (old_heights , new_heights ):
244
244
if abs (old - new ) > tol :
245
245
self .plotly_fig ['layout' ]['barmode' ]= 'stack'
246
+ self .plotly_fig ['layout' ]['hovermode' ]= 'x'
246
247
x = [bar ['x0' ]+ (bar ['x1' ]- bar ['x0' ])/ 2 for bar in trace ]
247
248
y = [bar ['y1' ] for bar in trace ]
248
249
bar_gap = mpltools .get_bar_gap ([bar ['x0' ] for bar in trace ],
@@ -257,6 +258,7 @@ def draw_bar(self, coll):
257
258
for old , new in zip (old_rights , new_rights ):
258
259
if abs (old - new ) > tol :
259
260
self .plotly_fig ['layout' ]['barmode' ]= 'stack'
261
+ self .plotly_fig ['layout' ]['hovermode' ]= 'y'
260
262
x = [bar ['x1' ] for bar in trace ]
261
263
y = [bar ['y0' ]+ (bar ['y1' ]- bar ['y0' ])/ 2 for bar in trace ]
262
264
bar_gap = mpltools .get_bar_gap ([bar ['y0' ] for bar in trace ],
You can’t perform that action at this time.
0 commit comments