擅长:python、mysql、java
<p>行:</p>
<pre><code> self.graph, = self.ax.hexbin(self.xData, self.yData)
</code></pre>
<p>(如果这是堆栈跟踪抛出异常的地方)可能是因为逗号,这意味着<code>self.ax.hexbin</code>是一个iterable对象。换成</p>
^{pr2}$
<p>可能会停止<code>TypeError exception</code>。下一次,在堆栈跟踪中提供更多的行-这可能有助于澄清问题。在</p>