n><span class="n">hbins</span><span class="p">,</span><span class="nb">float</span><span class="p">)</span> <span class="o">|</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">hbins</span><span class="p">,</span><span class="nb">int</span><span class="p">):</span>
        <span class="n">nhbins</span> <span class="o">=</span> <span class="n">hbins</span>
        <span class="n">dhbins</span> <span class="o">=</span> <span class="mi">360</span><span class="o">/</span><span clas