Skip to content

Commit

Permalink
fixed eodanalysis plot legend
Browse files Browse the repository at this point in the history
  • Loading branch information
janscience committed Oct 18, 2016
1 parent bbdf33a commit be2f58a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion thunderfish/dataloader.py
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,6 @@ def open(self, filepath, channel=0, buffersize=10.0, backsize=0.0, verbose=0):
print("try DataLoader:")
with open_data(filepath, 0, 2.0, 1.0, 1) as data:
print('samplerate: %g' % data.samplerate)
print('channels: %d %d' % (data.channels, data.shape[1]))
print('frames: %d %d' % (len(data), data.shape[0]))
nframes = int(1.0 * data.samplerate)
# forward:
Expand Down
1 change: 0 additions & 1 deletion thunderfish/eodanalysis.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,5 +103,4 @@ def eod_waveform_plot(time, mean_eod, std_eod, ax, unit='a.u.'):
# plot:
fig, ax = plt.subplots()
eod_waveform_plot(time, mean_eod, std_eod, ax, unit=unit)
ax.legend()
plt.show()

0 comments on commit be2f58a

Please sign in to comment.