.</span><span class="n">set_aspect</span><span class="p">(</span><span class="s2">&quot;auto&quot;</span><span class="p">)</span>

        <span class="c1"># Autoscale for x/y axis limits</span>
        <span class="n">ax</span><span class="o">.</span><span class="n">autoscale_view</span><span class="p">()</span></div></div>
</pre></div>

          </div>
          
        </div>
      </div>
      <div class="sphinxsidebar" role="navigation" aria-label="main navigation">
        <div class="sphinxsidebarw