【发布时间】:2012-11-15 17:49:54
【问题描述】:
imshow 动画是否适用于 qt 后端?以下在非 qt 中可以正常工作,但不能使用 qt 制作动画 - 仅显示最后一帧:
img = standard_normal((40,40))
image =imshow(img,interpolation='nearest',animated=True)
for k in range(1,10):
img = standard_normal((40,40))
image.set_data(img)
draw()
【问题讨论】:
标签: python qt matplotlib animated