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.

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())
../_images/sphx_glr_plot_grid_001.png

Module arguments

beampy.grid(dx, dy, **kwargs)

Create a grid with a given spacing.

:param Accept all arguments of beampy.line:

See also

beampy.line

Gallery generated by Sphinx-Gallery