.. _book_fig_chapter2_fig_quadtree_example: Quad Tree Example ----------------- Figure 2.3. This example creates a simple quad-tree partition of a two-dimensional parameter space, and plots a visualization of the result. .. image:: ../images/chapter2/fig_quadtree_example_1.png :scale: 100 :align: center .. raw:: html
**Code output:** .. raw:: html
.. literalinclude:: fig_quadtree_example.txt .. raw:: html
**Python source code:** .. raw:: html
.. literalinclude:: fig_quadtree_example.py :lines: 9- .. raw:: html
:download:`[download source: fig_quadtree_example.py] ` .. raw:: html