f25d4df0127537d57d4d7f7cd3fa52ca31ffa3ff,examples/03_connectivity/plot_inverse_covariance_connectome.py,,,#,28

Before Change


plt.imshow(estimator.covariance_, interpolation="nearest",
           vmax=1, vmin=-1, cmap=plt.cm.RdBu_r)
// And display the labels
x_ticks = plt.xticks(range(len(labels)), labels, rotation=90)
y_ticks = plt.yticks(range(len(labels)), labels)
plt.title("Covariance")

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////

After Change


from matplotlib import pyplot as plt
from nilearn.plotting.matrix_plotting import plot_matrix
// Display the covariance
plt.figure(figsize=(8, 8))

// The covariance can be found at estimator.covariance_
plot_matrix(estimator.covariance_, labels=labels, ax=plt.gca(),
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: nilearn/nilearn
Commit Name: f25d4df0127537d57d4d7f7cd3fa52ca31ffa3ff
Time: 2017-07-28
Author: moritz.boos@uni-oldenburg.de
File Name: examples/03_connectivity/plot_inverse_covariance_connectome.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: f25d4df0127537d57d4d7f7cd3fa52ca31ffa3ff
Time: 2017-07-28
Author: moritz.boos@uni-oldenburg.de
File Name: examples/03_connectivity/plot_signal_extraction.py
Class Name:
Method Name:


Project Name: Pinafore/qb
Commit Name: a37910cf0c8fbd1f863c058912571902198cad44
Time: 2017-05-23
Author: ski.rodriguez@gmail.com
File Name: qanta/reporting/plotting.py
Class Name:
Method Name: plot_confusion