Last active
April 19, 2023 17:32
-
-
Save prateekjoshi565/93aa10c901f61fbd8dccd84f60240e6e to your computer and use it in GitHub Desktop.
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
# Resize the foreground image to 960x720 pixels | |
plot_img = plot_img.resize((960, 720)) | |
# Paste the foreground image again onto the background image at a different position (60, 1000) | |
combined_image.paste(plot_img, (60, 1000)) | |
# display combined image | |
plt.figure(figsize= (12, 8)) | |
plt.imshow(combined_image); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment