摘要: matplot的plot对象如何转换成numpy矩阵? fig, ax = plt.subplots() nx.draw(self.g1, ax=ax,node_size=20) fig.canvas.draw() data = np.frombuffer(fig.canvas.tostring_r 阅读全文
posted @ 2022-08-20 16:54 bH1pJ 阅读(27) 评论(0) 推荐(0) 编辑