def patterns_draw(self):
        """Drawing operation for the patterns mode."""
        ### draw the background of the colors viewer in
        ### the screen
        blit_on_screen(self.image, self.rect)

        ### draw the labels and buttons on the screen

        self.labels.draw()
        self.buttons.draw()

        ### draw the canvas on the screen
        self.canvas.draw()

        ### finally, update the screen
        SERVICES_NS.update_screen()
Drawing operation for the patterns mode.
nodezator/colorsman/viewer/modes/patterns/main.py