Created
June 15, 2016 19:33
-
-
Save mstankie/71e49f628beac320953e0460b8ee78c2 to your computer and use it in GitHub Desktop.
Two images side-by-side using matplotlib (pylab)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
f = plt.figure() | |
f.add_subplot(1,2, 1) | |
plt.imshow(np.rot90(imgLr,2)) | |
f.add_subplot(1,2, 2) | |
plt.imshow(np.rot90(imgRr,2)) | |
plt.show(block=True) |
Is there a way to make it so that the images retain their relative sizes?
Thanks Bro. It's very Helpful.
thanks
Thanks
Fianlly! thanks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Very helpful!