i want to display images in Jupyter using Image.jl
.
the doc says:
If you're using the IJulia notebook, images will be displayed automatically.
Julia code for the display of images can be found in ImageView. Installation of this package is recommended but not required.
but i failed to find any way to automatically display images in a for loop. the code below is an example:
using Images
for i=1:10
convert(Image,rand(100,100))
end
i guess there exits an undocumented function to draw images in IJulia which can be called explicitly to show out those hidden results. thanks in advance! @tholy
You need to use the display
function, which is what IJulia uses, you can find it's documentation in the Multimedia I/O section of the Julia manual.