s="p">])</span>
                <span class="bp">self</span><span class="o">.</span><span class="n">pg</span> <span class="o">=</span> <span class="n">pg</span>

                <span class="c1"># add xy measurements coda to pg</span>
                <span class="n">bit_pos_to_xy_str</span> <span class="o">=</span>\
                    <span class="p">{</span><span class="n">bit</span><span class="p">:</span> <span class="n">action</span> <span class="k">for</span> <span class="n">bit</span><span class="p">