bf
This commit is contained in:
parent
5271c9c4e4
commit
cf86e9abad
@ -42,6 +42,7 @@ class plot():
|
||||
|
||||
if not x == 0:
|
||||
ax.tick_params(axis='y', which='both', left=False, right=False, labelleft=False)
|
||||
|
||||
ax.set_ylim(-self.max_v, self.max_v)
|
||||
|
||||
self.axs.append(ax)
|
||||
@ -384,7 +385,11 @@ def main():
|
||||
min = np.min(np.hstack(channel_data))
|
||||
if init_fig == True:
|
||||
for ch in channel_array:
|
||||
h, = Plot.axs[ch].plot(np.arange(250)[:len(channel_data[ch])] / rate, channel_data[ch], color='k')
|
||||
try:
|
||||
h, = Plot.axs[ch].plot(np.arange(250)[:len(channel_data[ch])] / rate, channel_data[ch], color='k')
|
||||
except:
|
||||
embed()
|
||||
quit()
|
||||
# axs[ch].set_ylim(min - channel_std[power_channel], max + channel_std[power_channel])
|
||||
# axs[ch].set_ylim(min, max)
|
||||
Plot.channel_handle.append(h)
|
||||
|
Loading…
Reference in New Issue
Block a user