# Gimp.Image.grid_set_spacing

    @accepts(Gimp.Image, float, float)
    @returns(bool)
    def grid_set_spacing(self, xspacing, yspacing):
        # Python wrapper for gimp_image_grid_set_spacing()

Sets the spacing of an image's grid.

This procedure sets the horizontal and vertical spacing of an image's grid.

Since 2.4

self

  The image.

xspacing

  The image's grid horizontal spacing.

yspacing

  The image's grid vertical spacing.

Returns