Closed ankane closed 4 years ago
Hi Andrew Kane!
I think IRuby.display
is useful for this purpose.
IRuby.display(1)
IRuby.display(2)
IRuby.display(3)
You can display images too.
But displaying IO object may not be recommended... https://github.com/SciRuby/iruby/pull/113
Awesome, works great - thanks @kojix2! (saw IRuby::Display.display
but missed that one)
In Python notebooks, you can do:
To show:
This is great for things like showing multiple images. It'd be great to be able to do this in Ruby as well.