以下代码可以使我在iPython笔记本中查看
png
图像。有没有一种方法可以查看pdf
图像?我不一定需要使用IPython.display。我正在寻找一种将pdf图像打印到iPython笔记本输出单元格的方法。## This is for an `png` image
from IPython.display import Image
fig = Image(filename=('./temp/my_plot.png'))
fig
谢谢。
hat.pdf[1]
来访问 hat.pdf 的第二页。这与标准 IM 相同,例如 https://dev59.com/Y2445IYBdhLWcg3wia6W。 - Jakobhat.pdf[1-5]
。 - Adam Hughes