Blinkstick Square - How to set all LEDs to black at once

Right now I am typing set color black individually for each LED but is there any way for me to type set color of all LEDs to black?
Sorry new to this.

Thanks

from blinkstick import blinkstick
import time
b = blinkstick.find_first()

while True:

b.set_color(index=2, name='pink')
b.set_color(index=3, name='lightyellow')
time.sleep(10)
b.set_color(index=2, name='black')
b.set_color(index=3, name='black')

You can use set_led_data function which will control multiple LEDs at once.

https://arvydas.github.io/blinkstick-python/blinkstick.blinkstick.BlinkStick-class.html#set_led_data

There is also a BlinkStick Pro class which simplifies sending LED frames to the device. You can find a sample code here: