9b9095f877f603d91495c72f91e4fddf61f1724e,examples/02_decoding/plot_haxby_stimuli.py,,,#,15

Before Change


    file_names = stimulus_information[stim_type]

    plt.figure()
    for i in range(48):
        plt.subplot(6, 8, i + 1)
        try:
            plt.imshow(plt.imread(file_names[i]), cmap=plt.cm.gray)
        except Exception:
            // just go to the next one if the file is not present
            pass
        plt.axis("off")
    plt.suptitle(stim_type)

show()

After Change


            ax.imshow(plt.imread(img_path), cmap=plt.cm.gray)

        for ax in axes.ravel():
            ax.axis("off")

show()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: nilearn/nilearn
Commit Name: 9b9095f877f603d91495c72f91e4fddf61f1724e
Time: 2019-07-22
Author: jerome@dockes.org
File Name: examples/02_decoding/plot_haxby_stimuli.py
Class Name:
Method Name:


Project Name: kymatio/kymatio
Commit Name: 44e510ee7d49fe9e9126b2e1ecbd916a18450e84
Time: 2018-11-25
Author: edouard.oyallon@centralesupelec.fr
File Name: examples/2d/plot_filters.py
Class Name:
Method Name:


Project Name: nilearn/nilearn
Commit Name: d216af31b527389779d8a0024449b0687e501337
Time: 2012-06-22
Author: alexandre.abraham@cea.fr
File Name: plot_nyu_rest_decomposition.py
Class Name:
Method Name: