This commit is contained in:
tillraab 2019-09-11 13:50:30 +02:00
parent 5271c9c4e4
commit cf86e9abad

View File

@ -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)