使用markdown调整jupyter笔记本中的图像大小 [英] Resize the image in jupyter notebook using markdown
本文介绍了使用markdown调整jupyter笔记本中的图像大小的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想在Jupyter笔记本中添加图像,我希望有特定的高度和宽度。
当我尝试使用
I want to add the image in the Jupyter notebook and I want to have particular height and width. When I try to add the image using
![](img.png)
代码正在添加完整的图片,但根据图片尺寸,我无法控制它。
我尝试使用![](img.png = 200x100),但之后图片不会出现。
the code is adding the complete image but as per the image dimension and I don't have control over it. I try to use ![](img.png =200x100) but then the image does not appear.
有没有人知道添加具有预先指定尺寸的图像的方法?
Does anybody know of a way to add an image with pre-specified dimensions?
推荐答案
你可以直接使用html
You can use html directly
<img src="image.JPG" alt="Drawing" style="width: 200px;"/>
这篇关于使用markdown调整jupyter笔记本中的图像大小的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文