def plot_trigger_criterion(transient):
fig, ax = plt.subplots(1)
# rotate and align the tick labels so they look better
for i in range(len(transient.trigger_criterion)):
ax.plot(transient.trigger_criterion_timestamps[i], transient.trigger_criterion[i], '.')
import matplotlib.dates as mdates
ax.fmt_xdata = mdates.DateFormatter('%H:%M:%S')
fig.autofmt_xdate()
return fig
评论列表
文章目录