plot.py 文件源码

python
阅读 24 收藏 0 点赞 0 评论 0

项目:wavelet-denoising 作者: mackaiver 项目源码 文件源码
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
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号