Skip to content

Commit 852e761

Browse files
committed
Do not round to first digit.
1 parent c5ebc00 commit 852e761

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
@@ -648,7 +648,7 @@ def show_perf_stats(returns, factor_returns=None, positions=None,
648648
for stat, value in perf_stats[column].iteritems():
649649
if stat in STAT_FUNCS_PCT:
650650
perf_stats.loc[stat, column] = str(np.round(value * 100,
651-
1)) + '%'
651+
3)) + '%'
652652
if header_rows is None:
653653
header_rows = date_rows
654654
else:

0 commit comments

Comments
 (0)