Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

support pyplot.imshow #36

Open
keosu opened this issue Oct 12, 2018 · 2 comments
Open

support pyplot.imshow #36

keosu opened this issue Oct 12, 2018 · 2 comments

Comments

@keosu
Copy link

keosu commented Oct 12, 2018

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

@jmmanley
Copy link

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?

@cipri-tom
Copy link

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

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants