Images don't show in console #98
-
|
TL;DR: How do I get an image to display in the Lab console? I put the following code in a file. I opened it in Pythonista, and it works, the image is displayed in the console tab. |
Beta Was this translation helpful? Give feedback.
Answered by
mmccthomas
Nov 7, 2025
Replies: 1 comment 1 reply
-
|
Replace img.show() by display(img) and it will work. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
ericm301
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Replace img.show() by display(img) and it will work.
The output cell is not a console so the .show() method cannot write to the console.
Chris