@requires_version('scipy', '0.12')
def test_plot_psd_epochs():
 import matplotlib.pyplot as plt
 epochs = _get_epochs()
 epochs.plot_psd()
 assert_raises(RuntimeError, epochs.plot_psd_topomap, bands=[(0, 0.01, 'foo')])
 epochs.plot_psd_topomap()
 plt.close('all')

@ requires_version ( 'scipy' , '0.12' ) def test_plot_psd_epochs ( ) : import matplotlib . pyplot as plt epochs = _get_epochs ( ) epochs . plot_psd ( ) assert_raises ( RuntimeError , epochs . plot_psd_topomap , bands = [ ( 0 , 0.01 , 'foo' ) ] ) epochs . plot_psd_topomap ( ) plt . close ( 'all' )
test plotting epochs psd .