continuation line with same indent as next logical line
1252
1253 if isinstance(returns, _pd.DataFrame) and \
1254 len(returns.columns) > 1 and \
1255 isinstance(strategy_colname, str):1256 strategy_colname = list(returns.columns)
1257
1258 win_year, win_half_year = _get_trading_periods(periods_per_year)
continuation line with same indent as next logical line
676
677 if isinstance(returns, _pd.DataFrame) and \
678 len(returns.columns) > 1 and \
679 isinstance(strategy_title, str): 680 strategy_title = list(returns.columns)
681
682 if _utils._in_notebook():
continuation line with same indent as next logical line
524
525 if isinstance(returns, _pd.DataFrame) and \
526 len(returns.columns) > 1 and \
527 isinstance(strategy_title, str): 528 strategy_title = list(returns.columns)
529
530 if benchmark is not None:
continuation line with same indent as next logical line
91 strategy_title = kwargs.get("strategy_title", "Strategy")
92 if isinstance(returns, _pd.DataFrame) and \
93 len(returns.columns) > 1 and \
94 isinstance(strategy_title, str): 95 strategy_title = list(returns.columns)
96
97 if benchmark is not None:
Description
Continuation lines should not be indented at the same level as the next logical line. Instead, they should be indented to one more level so as to distinguish them from the next line.