Skip to content

Commit 5121dd8

Browse files
committed
Fix For Issue quantopian#713
1 parent 4b901f6 commit 5121dd8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pyfolio/plotting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,7 @@ def show_perf_stats(returns, factor_returns=None, positions=None,
645645
perf_stats = pd.DataFrame(perf_stats_all, columns=['Backtest'])
646646

647647
for column in perf_stats.columns:
648-
for stat, value in perf_stats[column].iteritems():
648+
for stat, value in perf_stats[column].items():
649649
if stat in STAT_FUNCS_PCT:
650650
perf_stats.loc[stat, column] = str(np.round(value * 100,
651651
3)) + '%'

0 commit comments

Comments
 (0)