remove unneeded test ploting

This commit is contained in:
a.ott 2020-03-09 09:56:57 +01:00
parent 98c0c1ed1d
commit 15166042be

View File

@ -101,17 +101,17 @@ def array_and_time_points_equal(stimulus, start, duration, step_size):
return False return False
stim_per_point = [] # stim_per_point = []
for t in time: # for t in time:
stim_per_point.append(stimulus.value_at_time_in_s(t)) # stim_per_point.append(stimulus.value_at_time_in_s(t))
#
stim_per_point = np.around(np.array(stim_per_point), precision) # stim_per_point = np.around(np.array(stim_per_point), precision)
fig, axes = plt.subplots(1, 1, sharex="all") # fig, axes = plt.subplots(1, 1, sharex="all")
axes.plot(time, array, label="array") # axes.plot(time, array, label="array")
axes.plot(time, stim_per_point, label="individual") # axes.plot(time, stim_per_point, label="individual")
axes.set_title("stimulus values") # axes.set_title("stimulus values")
axes.legend() # axes.legend()
#
plt.show() # plt.show()
return True return True