Hello... World!
If you want to display an image you have in your img dir like this, called appleb.png:
You can code like this:
See ya
If you want to display an image you have in your img dir like this, called appleb.png:
You can code like this:
from IPython.core.display import Image, display
a = display(Image('img/apple.png', width=30, unconfined=True))
a = Image('img/apple.png', width=50, unconfined=True)
display(a)
a.width = 100
display(a)
See ya
Comments
Post a Comment