This commit is contained in:
Till Raab 2023-10-20 13:12:05 +02:00
parent 7d03351057
commit e70fce7f98

View File

@ -159,10 +159,12 @@ def main(args):
for enu in range(len(left_time_bound)):
if np.isnan(right_time_bound[enu]):
continue
ax.add_patch.Rectangle((left_time_bound[enu], right_time_bound[enu]),
ax.add_patch(
Rectangle((left_time_bound[enu], right_time_bound[enu]),
(right_time_bound[enu] - left_time_bound[enu]),
(upper_freq_bound[enu] - lower_freq_bound[enu]),
fill=False, color="white", linewidth=2)
)
plt.show()