.. _sphx_glr_auto_examples_plot_grid.py: grid ==== Easiest way to create grid in svg rather than using the :py:mod:beampy.svg .. note:: This function is not yet optimised creating a grid loop over hline and vline resulting in a slow compilation time. .. code-block:: python from beampy import * # Remove quiet=True to get Beampy render outputs doc = document(quiet=True) with slide('Svg: grid'): grid(25, 25, color='gray') grid(100, 100, color='crimson') display_matplotlib(gcs()) .. image:: /auto_examples/images/sphx_glr_plot_grid_001.png :align: center Module arguments ================ .. autofunction:: beampy.grid :noindex: .. only :: html .. container:: sphx-glr-footer .. container:: sphx-glr-download :download:`Download Python source code: plot_grid.py ` .. container:: sphx-glr-download :download:`Download Jupyter notebook: plot_grid.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_