span> <span class="o">=</span> <span class="n">halign</span><span class="o">.</span><span class="n">value</span>
                <span class="n">text_kwargs</span><span class="p">[</span><span class="s1">&#39;va&#39;</span><span class="p">]</span> <span class="o">=</span> <span class="n">valign</span><span class="o">.</span><span class="n">value</span>

                <span class="k">if</span> <span class="n">visual_edge</span><span class="o">.</span><span class="n">background</span> <span class="ow">is</s