Closed ymouse91 closed 6 years ago
@ymouse91 Hi, thanks for your feedback. plt.show() displays the figure (and enters the mainloop of whatever gui backend you're using).
plt.imshow() draws an image on the current figure (creating a figure is there isn't a current figure).
In this tutorial, we just want to get out original photo, so plt.imshow() works. We do not need to import json here, it will work well.
@ymouse91 We will now proceed to close this thread. If there are further questions regarding this matter, please respond here and @YutongTie-MSFT and we will gladly continue the discussion.
You are missing this line in order to display the original image: plt.show() Also json module needs to be imported: import json
Document details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.