@@ -362,7 +362,7 @@ def _plot_equity_section(is_return=False):
362362 source .add (equity , source_key )
363363 fig = new_indicator_figure (
364364 y_axis_label = yaxis_label ,
365- ** ({} if plot_drawdown else dict (height = 110 )))
365+ ** (dict ( height = 80 ) if plot_drawdown else dict (height = 100 )))
366366
367367 # High-watermark drawdown dents
368368 fig .patch ('index' , 'equity_dd' ,
@@ -413,7 +413,7 @@ def _plot_equity_section(is_return=False):
413413
414414 def _plot_drawdown_section ():
415415 """Drawdown section"""
416- fig = new_indicator_figure (y_axis_label = "Drawdown" )
416+ fig = new_indicator_figure (y_axis_label = "Drawdown" , height = 80 )
417417 drawdown = equity_data ['DrawdownPct' ]
418418 argmax = drawdown .idxmax ()
419419 source .add (drawdown , 'drawdown' )
@@ -427,7 +427,7 @@ def _plot_drawdown_section():
427427
428428 def _plot_pl_section ():
429429 """Profit/Loss markers section"""
430- fig = new_indicator_figure (y_axis_label = "Profit / Loss" )
430+ fig = new_indicator_figure (y_axis_label = "Profit / Loss" , height = 80 )
431431 fig .add_layout (Span (location = 0 , dimension = 'width' , line_color = '#666666' ,
432432 line_dash = 'dashed' , level = 'underlay' , line_width = 1 ))
433433 trade_source .add (trades ['ReturnPct' ], 'returns' )
0 commit comments