wid_specgram.py 文件源码

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

项目:PyFusionGUI 作者: SyntaxVoid 项目源码 文件源码
def redraw(self):
        global hist_box, HaveTix, marker_size
        bshot.label.set_text(str(self.shot))
        status=call_spec()
        if HaveTix:  # update shot field in either case, only update history if good
            # this updates hist_box if the shot was changed by the other (matplotlib) widgets
            hist_box.set_silent(str(self.shot))
            if status==True:
                hist_box.add_history(str(self.shot))

        print("marker_size", marker_size)
#        if marker_size>0: plot_flucstrucs_for_shot(self.shot, size_factor=marker_size, savefile='')
#        pl.draw()  # what does this do?
        return(status) # False if no data
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号