64be522285d5eeea4e3fb4c6df133984fc65b74e,examples/time_frequency/plot_compute_source_psd_epochs.py,,,#,22

Before Change


plt.plot(freqs, psd_avg)
plt.xlabel("Freq (Hz)")
plt.ylabel("Power Spectral Density")
plt.show()

After Change


//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Visualize the entire spectrum:

fig, ax = plt.subplots()
ax.plot(freqs, psd_avg.mean(axis=0))
ax.set_xlabel("Freq (Hz)")
ax.set_xlim(stc.times[[0, -1]])
ax.set_ylabel("Power Spectral Density")
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 3

Instances


Project Name: mne-tools/mne-python
Commit Name: 64be522285d5eeea4e3fb4c6df133984fc65b74e
Time: 2018-09-08
Author: larson.eric.d@gmail.com
File Name: examples/time_frequency/plot_compute_source_psd_epochs.py
Class Name:
Method Name:


Project Name: scikit-image/scikit-image
Commit Name: 958f8f41da4f00c2e9c8d1be0616fcc59c5ee3f0
Time: 2017-10-21
Author: peter@goldsborough.me
File Name: doc/examples/edges/plot_random_shapes.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 947099ee4ec1a130fd637c0d55760691c8250133
Time: 2017-11-12
Author: nelle.varoquaux@gmail.com
File Name: examples/pyplots/annotation_basic.py
Class Name:
Method Name:


Project Name: mne-tools/mne-python
Commit Name: 8dfbe7fd4d7528b5033407feba1bf0825682bf2a
Time: 2019-06-06
Author: larson.eric.d@gmail.com
File Name: examples/preprocessing/plot_eog_artifact_histogram.py
Class Name:
Method Name:


Project Name: matplotlib/matplotlib
Commit Name: 6ae3c6f77e5bc12b922baecda2c3d1be130d1dc7
Time: 2017-05-14
Author: patniharshit@gmail.com
File Name: tutorials/colors/colorbar_only.py
Class Name:
Method Name: