itermplot icon indicating copy to clipboard operation
itermplot copied to clipboard

support pyplot.imshow

Open keosu opened this issue 7 years ago • 2 comments

I want to use imshow to display a raw rgb picture, it seems that not support .

keosu avatar Oct 12 '18 10:10 keosu

Hi there, just wanted to add that this capability works fine for me. E.g. the following random rgb image:

import matplotlib.pyplot as plt
import numpy as np

plt.imshow(np.random.random_integers(0, 255, (100,100,3)))
plt.show()

Maybe could you elaborate on the issue you're having?

jmmanley avatar Oct 19 '18 14:10 jmmanley

aah, so you just need to call plt.show() after you call plt.imshow(...). Thank you!

cipri-tom avatar Apr 02 '19 15:04 cipri-tom