【发布时间】:2016-10-27 18:39:54
【问题描述】:
在 python 2.7 中运行时没有问题,但在 python 3 中运行时出现错误。
我需要在此代码中更改什么。
import matplotlib as mpl
poly = mpl.path.Path(zip(listx,listy))
我得到的错误是
TypeError: float() argument must be a string or a number, not 'zip'
【问题讨论】:
标签: python matplotlib