1d07a55ab2ddd028ac0e607db496f74bb875ed65,pypfopt/risk_models.py,,correlation_plot,#Any#Any#Any#Any#,198
Before Change
if show_tickers:
sns.heatmap(corr)
else:
sns.heatmap(corr, xticklabels=False, yticklabels=False)
if filename:
plt.savefig(fname=filename, dpi=300)
if showfig:
plt.show()
After Change
fig.colorbar(cax)
if show_tickers:
ax.set_xticks(np.arange(0, corr.shape[0], 1))
ax.set_xticklabels(corr.index)
ax.set_yticks(np.arange(0, corr.shape[0], 1))
ax.set_yticklabels(corr.index)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: robertmartin8/PyPortfolioOpt
Commit Name: 1d07a55ab2ddd028ac0e607db496f74bb875ed65
Time: 2020-03-18
Author: martin.robertandrew@gmail.com
File Name: pypfopt/risk_models.py
Class Name:
Method Name: correlation_plot
Project Name: autoreject/autoreject
Commit Name: 4c240baa0733f5c7b4423a671d70669335614dc0
Time: 2017-01-10
Author: mainakjas@gmail.com
File Name: examples/plot_auto_repair.py
Class Name:
Method Name:
Project Name: autoreject/autoreject
Commit Name: 4c240baa0733f5c7b4423a671d70669335614dc0
Time: 2017-01-10
Author: mainakjas@gmail.com
File Name: examples/plot_ransac.py
Class Name:
Method Name: