Jupyter book - 在 Jupyter notebook 中更改图像大小

Jupyter book - Change Image Size in Jupyter notebook

我正在使用

创建一个 jupyterbook
jb build my_report --builder=pdflatex

在我的 jupyter 书中,我的输出写在 notebooks.ipynb.

在这份报告中我有

from IPython.display import Image
Image(filename='Images/my_image.png',width=600, height=400)

此处的宽度和高度在构建书籍时没有影响。如何更改单元格元数据以更改大小?

目前单元元数据如下:

{
    "tags": [
        "remove-input"
    ]
}

我认为目前唯一(有效)的方法是调整源图像的大小。