Skip to content

Commit 7ad7ee7

Browse files
committed
STY PEP8 fixes.
1 parent b10281c commit 7ad7ee7

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

pyfolio/tears.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,6 @@ def create_bayesian_tear_sheet_oos(returns, live_start_date,
560560
horizontalalignment='right',
561561
transform=ax_ret_pred_week.transAxes)
562562

563-
564563
# Run alpha beta model
565564
benchmark_rets = benchmark_rets.loc[df_train.index]
566565
trace_alpha_beta = bayesian.run_model('alpha_beta', df_train,
@@ -571,11 +570,9 @@ def create_bayesian_tear_sheet_oos(returns, live_start_date,
571570
ax_alpha = plt.subplot(gs[row, 0])
572571
ax_beta = plt.subplot(gs[row, 1])
573572
sns.distplot((1 + trace_alpha_beta['alpha'][100:])**252 - 1, ax=ax_alpha)
574-
# ax_sharpe.set_title('Alpha')
575573
ax_alpha.set_xlabel('Annual Alpha')
576574
ax_alpha.set_ylabel('Belief')
577575
sns.distplot(trace_alpha_beta['beta'][100:], ax=ax_beta)
578-
# ax_beta.set_title('Beta')
579576
ax_beta.set_xlabel('Beta')
580577
ax_beta.set_ylabel('Belief')
581578

0 commit comments

Comments
 (0)