Skip to content
Advertisement

How to include two pictures side by side in Markdown for IPython Notebook (Jupyter)?

I am trying to insert two pictures side by side in one Markdown cell on a notebook. The way I do it was:

<img src="pic/scan_concept.png" alt="Drawing" style="width: 250px;"/> 

in order to be able to size the included picture. Can anyone gives suggestions on top of this?

Thanks,

Advertisement

Answer

JMann’s solution didn’t work for me. But this one worked

from IPython.display import HTML, display
display(HTML("<table><tr><td><img src='img1'></td><td><img src='img2'></td></tr></table>"))

I took the idea from this notebook

User contributions licensed under: CC BY-SA
1 People found this is helpful
Advertisement