© 1999-2048 dssz.net 粤ICP备11031372号
[其它] 利用matplotlib实现根据实时数据动态更新图形
说明:我就废话不多说了,直接上代码吧! from time import sleep from threading importThread import numpy as np import matplotlib.pyplot as plt from matplotlib.widgets importButton fig, ax = plt.subplots() #设置图形显示位置 plt.subplots_adjust(bottom=0.2) #实验数据 range_start, range_e<weixin_38703123> 上传 | 大小:63kb