I found a bug in the function drawmesh. The image shape is H x W x 3, but the parameters of 'set_size_inches' is (width, height) according to the matplotlib API. So I suppose that the correct input of 'set_size_inches' should be image.shape[1], image.shape[0]. If I were right, there maybe some same bugs in other functions. Please check them out.
Dear author,
I found a bug in the function drawmesh. The image shape is H x W x 3, but the parameters of 'set_size_inches' is (width, height) according to the matplotlib API. So I suppose that the correct input of 'set_size_inches' should be image.shape[1], image.shape[0]. If I were right, there maybe some same bugs in other functions. Please check them out.
Best wishes, Jingshuang