(self)
Turns of all pixels by setting their color to black.
Turns of all pixels by setting their color to black.
Turns of all pixels by setting their color to black .
def clear(self) -> None:
        """Turns of all pixels by setting their color to black."""
        self.set_colors([(0, 0, 0) for _ in range(self.led_count)])
def clear ( self ) -> None : self . set_colors ( [ ( 0 , 0 , 0 ) for _ in range ( self . led_count ) ] )