From 51f25eddb2a05c9fa2d90a4f536ed99ed8f7311f Mon Sep 17 00:00:00 2001 From: Jaakko Leppakangas Date: Tue, 1 Sep 2015 09:00:02 +0300 Subject: [PATCH] Fix to plot_time_frequency_simulated. --- examples/time_frequency/plot_time_frequency_simulated.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/time_frequency/plot_time_frequency_simulated.py b/examples/time_frequency/plot_time_frequency_simulated.py index 5194d8c770b..f99e84b4994 100644 --- a/examples/time_frequency/plot_time_frequency_simulated.py +++ b/examples/time_frequency/plot_time_frequency_simulated.py @@ -42,7 +42,7 @@ data = noise + signal reject = dict(grad=4000) -events = np.empty((n_epochs, 3)) +events = np.empty((n_epochs, 3), dtype=int) first_event_sample = 100 event_id = dict(sin50hz=1) for k in range(n_epochs):