How to insert an image into a Jupyter-lab notebook with iRuby kernel

31 Views Asked by At

I am using iruby kernel in Jupyter-lab. I wish to insert an image systematically from Ruby code into the notebook, as a result of some calculations. Typically the image will be a *.png.

The same question is answerred here, but for Python. Any ideas?

1

There are 1 best solutions below

0
On BEST ANSWER

I fond a solution that for me is acceptable

IRuby.html('<img src="./simple1.png">')