Closed calebweinreb closed 4 months ago
That resulted in only the first row of the image being displayed.
Surely we would've noticed this? Was this only happening in some specific subset of instances?
I don't know the vis just didn't work when I tried to use the pipeline out of the box. Does it work for you?
There was a bug in the implementation of live vis in
main
. The image fetcher returned [None] when the queue was empty, an empty tuple when it was finished, and an image otherwise. The recipient code checked iflen(data)>0
and if so, it indexed intodata[0]
. That resulted in only the first row of the image being displayed. In this PR, I now have the image fetcher return None when the queue is empty, and the recipient code processes each case correctly.