99fe730f9963f87aaf5d614bb74d60fc3d8e8173,examples/connectivity/plot_probabilistic_atlas_extraction.py,,,#,24
Before Change
from matplotlib import pyplot as plt
plt.figure(figsize=(10, 10))
// Mask out the major diagonal
correlation_matrix[range(correlation_matrix.shape[-1]),
range(correlation_matrix.shape[-1])] = 0
plt.imshow(correlation_matrix, interpolation="nearest", cmap="RdBu_r",
vmax=0.8, vmin=-0.8)
plt.colorbar()
After Change
from matplotlib import pyplot as plt
plt.figure(figsize=(10, 10))
// Mask out the major diagonal
np.fill_diagonal(correlation_matrix, 0)
plt.imshow(correlation_matrix, interpolation="nearest", cmap="RdBu_r",
vmax=0.8, vmin=-0.8)
plt.colorbar()
// And display the labels
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 3
Instances Project Name: nilearn/nilearn
Commit Name: 99fe730f9963f87aaf5d614bb74d60fc3d8e8173
Time: 2015-11-08
Author: arokem@gmail.com
File Name: examples/connectivity/plot_probabilistic_atlas_extraction.py
Class Name:
Method Name:
Project Name: nilearn/nilearn
Commit Name: 99fe730f9963f87aaf5d614bb74d60fc3d8e8173
Time: 2015-11-08
Author: arokem@gmail.com
File Name: examples/connectivity/plot_signal_extraction.py
Class Name:
Method Name:
Project Name: biocore/scikit-bio
Commit Name: 20769173fc5100fd8b60ca7d77a0b7dd5d6225fd
Time: 2017-04-24
Author: sdbrown@gmail.com
File Name: skbio/tree/_nj.py
Class Name:
Method Name: _compute_q
Project Name: NTMC-Community/MatchZoo
Commit Name: c31c8439f5f263c1f8f928785b364540c82d87ac
Time: 2019-04-18
Author: chenjiangui@outlook.com
File Name: matchzoo/contrib/layers/matching_tensor_layer.py
Class Name: MatchingTensorLayer
Method Name: build