2024-04-26 06:25:34 发布
网友
假设您需要将figure和subplot存储在变量中(以便以后修改属性)。你怎么能让整个数字在几毫秒后不迅速消失呢?
figure
subplot
import matplotlib.pyplot as plt fig = plt.figure() ax = fig.add_subplot(2,2,1) ax.plot(1) fig.show()
将fig更改为plt:
fig
plt
plt.show()
将
fig
更改为plt
:相关问题 更多 >
编程相关推荐