如何从numpy数组中显示/绘制“matplotlib.lines.Line2D”?

时间:2017-01-28 23:47:42

标签: python python-2.7 numpy matplotlib

我有以下数组:

test = np.array([<matplotlib.lines.Line2D object at 0x7f69d76517d0>,
   <matplotlib.lines.Line2D object at 0x7f69d7649610>,
   <matplotlib.lines.Line2D object at 0x7f69d7f44b50>,
   <matplotlib.lines.Line2D object at 0x7f69d7f47610>,
   <matplotlib.lines.Line2D object at 0x7f69d7f700d0>,
   <matplotlib.lines.Line2D object at 0x7f69d7f70b50>,
   <matplotlib.lines.Line2D object at 0x7f69e045cc10>,
   <matplotlib.lines.Line2D object at 0x7f69e0449b50>,
   <matplotlib.lines.Line2D object at 0x7f69e043c610>,
   <matplotlib.lines.Line2D object at 0x7f69e043e0d0>], dtype=object)

包含一组我想要绘制的线条,但我不知道如何使用matplotlib在图形中显示它们。有人可以帮我解决这个问题吗?

0 个答案:

没有答案