On 18 Dec 2020, at 7:19 am, Laurynas Gedminas <laurynasgedminas@gmail.com> wrote:Hello,I have NDVI image, its not a square, and has some None values,I am trying to create otsu threshold, but getting error:autodetected range of [nan, nan] is not finitehow to go around that?<image.png>Thank you,