# Gimp.Drawable.set_pixel

    @accepts(Gimp.Drawable, int, int, Gegl.Color)
    @returns(bool)
    def set_pixel(self, x_coord, y_coord, color):
        # Python wrapper for gimp_drawable_set_pixel()

Sets the value of the pixel at the specified coordinates.

This procedure sets the pixel value at the specified coordinates. Note that this function is not undoable, you should use it only on drawables you just created yourself.

self

  The drawable.

x_coord

  The x coordinate.

y_coord

  The y coordinate.

color

  The pixel color.

Returns