python: generating a histogram
<p>this:</p>

<pre><code> numpy.histogram([1,3,2,3,1,1,1,1,2,3,2,5,6,6],bins=numpy.arange(0,7,1))
</code></pre>

<p>yields:</p>

<pre><code>(array([0, 5, 3, 3, 0, 3]), array([0, 1, 2, 3, 4, 5, 6]))
</code></pre>

<p>why does it count three 6's? there are only 2!</p>
