[minor] some updates

This commit is contained in:
2018-02-21 13:36:43 +01:00
parent 819e4d7076
commit ff65fd2290
3 changed files with 10 additions and 4 deletions

View File

@@ -987,6 +987,7 @@ class PylotCanvas(FigureCanvas):
times = [time for index, time in enumerate(time_ax) if not index % nth_sample]
data = [datum + n for index, datum in enumerate(trace.data) if not index % nth_sample]
ax.axhline(n, color="0.5", lw=0.5)
ax.plot(times, data, color=linecolor, linewidth=0.7)
if noiselevel is not None:
for level in [-noiselevel[channel], noiselevel[channel]]: