Trouble with a new blinkt setup

Hi everyone, I’m having trouble getting started with the Blinkt LED device. If I run the following:

from blinkt import set_pixel, set_brightness, show, clear
import time

clear()
set_pixel(1, 0, 255, 0)
show()

time.sleep(1)

I don’t get any lights at all when the program runs.

However if I instead run this:

from blinkt import set_pixel, set_brightness, show, clear

while True:

set_pixel(0, 0, 0, 255, brightness=0.7)
show()

I get a light show like this:

20201016_163651

This is on a Pi 3 with a fresh install of raspberry pi os and Python 3.7.3 IDLE. Any advice?

Maybe you have to set a default brightness?
blinkt. set_brightness ( brightness )

blinkt. set_pixel ( x , r , g , b , brightness=None )

Set the RGB value, and optionally brightness, of a single pixel

If you don’t supply a brightness value, the last value will be kept.

Parameters: * x – The horizontal position of the pixel: 0 to 7

  • r – Amount of red: 0 to 255
  • g – Amount of green: 0 to 255
  • b – Amount of blue: 0 to 255
  • brightness – Brightness: 0.0 to 1.0 (default around 0.2)