@@ -538,9 +538,8 @@ def __eq__(self, other):
538
538
if is_overlay :
539
539
ohlc_extreme_values [source_name ] = arr
540
540
if is_histogram :
541
- fig .vbar (x = source .data ['index' ], legend_label = legend_label ,
542
- bottom = [0 for _ in source .data ['index' ]],
543
- top = arr , width = BAR_WIDTH , color = color )
541
+ fig .vbar ('index' , BAR_WIDTH , source_name , source = source ,
542
+ legend_label = legend_label , color = color )
544
543
elif is_scatter :
545
544
fig .scatter (
546
545
'index' , source_name , source = source ,
@@ -554,9 +553,8 @@ def __eq__(self, other):
554
553
line_width = 1.3 )
555
554
else :
556
555
if is_histogram :
557
- r = fig .vbar (x = source .data ['index' ], legend_label = LegendStr (legend_label ),
558
- bottom = [0 for _ in source .data ['index' ]],
559
- top = arr , width = BAR_WIDTH , color = color )
556
+ r = fig .vbar ('index' , BAR_WIDTH , source_name , source = source ,
557
+ legend_label = LegendStr (legend_label ), color = color )
560
558
elif is_scatter :
561
559
r = fig .scatter (
562
560
'index' , source_name , source = source ,
0 commit comments