iris中的控制Vmin和Vmax是动画;
有人知道如何(如果?)我可以使用 iris.experiment。 ?
wind = iris.load_cube('/my/pp/file')
cube_iter = wind.slices(('longitude', 'latitude'))
ani = animate(cube_iter, qplt.contourf,vmin=0,vmax=20)
plt.show()
我正在使用IRIS 2.4.0版。
在此代码中,动画有效,但VMAX被忽略(请参阅附件屏幕截图)。
有人知道如何解决这个问题吗?
谢谢!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这有点像软糖,但是我们可以使用 functools.spartial 函数要修复
calle
和Extend
关键字。This is a bit of a fudge, but we can produce a more sensible animation by using the functools.partial function to fix the
levels
andextend
keyword.