Skip to content

Commit

Permalink
STY: restored old behavior in create_summary_tear_sheet
Browse files Browse the repository at this point in the history
First print information then plot
  • Loading branch information
luca-s committed Jan 11, 2018
1 parent 5322d01 commit 45b708e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions alphalens/tears.py
Original file line number Diff line number Diff line change
Expand Up @@ -257,8 +257,6 @@ def create_summary_tear_sheet(factor_data,
by_group=False,
ylim_percentiles=None,
ax=gf.next_row())
plt.show()
gf.close()

# Information Analysis
ic = perf.factor_information_coefficient(factor_data)
Expand All @@ -279,6 +277,9 @@ def create_summary_tear_sheet(factor_data,

plotting.plot_turnover_table(autocorrelation, quantile_turnover)

plt.show()
gf.close()


@create_returns_tear_sheet_api_change_warning
@plotting.customize
Expand Down

0 comments on commit 45b708e

Please sign in to comment.