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
file_names = stimulus_information[stim_type]
fig, axes = plt.subplots(6, 8)
fig.suptitle(stim_type)
for img_path, ax in zip(file_names, axes.ravel()):
ax.imshow(plt.imread(img_path), cmap=plt.cm.gray)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
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: brian-team/brian2
Commit Name: f1341aadc81819ed2bb3223a9fa878ec7b25f547
Time: 2015-12-01
Author: dg.github@thesamovar.net
File Name: dev/benchmarks/compare_to_brian1.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: