python C Matplotlib显示多个图像与for循环
发布时间:2023-12-22 05:32:26 所属栏目:Python 来源:DaWei
导读: 参见英文答案 >
Can I generate and show a different image during each loop with Matplotlib?1个
我想在Matplotlib中显示多个图形.这是我的代码:
for i in range(8):
Can I generate and show a different image during each loop with Matplotlib?1个
我想在Matplotlib中显示多个图形.这是我的代码:
for i in range(8):
参见英文答案 >
Can I generate and show a different image during each loop with Matplotlib?1个
但是,图(1)至图(7)将在过程中显示,但只有图(8)保持在最后.我怎样才能同时看到所有数字? 这将绘制8个不同的窗口x和y,所有窗口将保持“活着”,直到你关闭它们. 确保在for循环外调用plt.show() (编辑:甘南站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐