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
评论列表
文章目录