如何在 Markdown for IPython Notebook (Jupyter) 中并排包含两张图片? [英] How to include two pictures side by side in Markdown for IPython Notebook (Jupyter)?

查看:52
本文介绍了如何在 Markdown for IPython Notebook (Jupyter) 中并排包含两张图片?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想在笔记本上的一个 Markdown 单元格中并排插入两张图片.我的做法是:

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?

谢谢,

推荐答案

JMann 的解决方案对我不起作用.但是这个成功了

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>"))

我从这本笔记本

这篇关于如何在 Markdown for IPython Notebook (Jupyter) 中并排包含两张图片?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆