@@ -362,7 +362,7 @@ def _plot_equity_section(is_return=False):
362
362
source .add (equity , source_key )
363
363
fig = new_indicator_figure (
364
364
y_axis_label = yaxis_label ,
365
- ** ({} if plot_drawdown else dict (height = 110 )))
365
+ ** (dict ( height = 80 ) if plot_drawdown else dict (height = 100 )))
366
366
367
367
# High-watermark drawdown dents
368
368
fig .patch ('index' , 'equity_dd' ,
@@ -413,7 +413,7 @@ def _plot_equity_section(is_return=False):
413
413
414
414
def _plot_drawdown_section ():
415
415
"""Drawdown section"""
416
- fig = new_indicator_figure (y_axis_label = "Drawdown" )
416
+ fig = new_indicator_figure (y_axis_label = "Drawdown" , height = 80 )
417
417
drawdown = equity_data ['DrawdownPct' ]
418
418
argmax = drawdown .idxmax ()
419
419
source .add (drawdown , 'drawdown' )
@@ -427,7 +427,7 @@ def _plot_drawdown_section():
427
427
428
428
def _plot_pl_section ():
429
429
"""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 )
431
431
fig .add_layout (Span (location = 0 , dimension = 'width' , line_color = '#666666' ,
432
432
line_dash = 'dashed' , level = 'underlay' , line_width = 1 ))
433
433
trade_source .add (trades ['ReturnPct' ], 'returns' )
0 commit comments