Inserting image into IPython notebook markdown

后端 未结 13 1590
面向向阳花
面向向阳花 2020-12-07 06:51

I am starting to depend heavily on the IPython notebook app to develop and document algorithms. It is awesome; but there is something that seems like it should be possible,

13条回答
  •  一生所求
    2020-12-07 07:41

    If you want to display the image in a Markdown cell then use:

    
    

    If you want to display the image in a Code cell then use:

    from IPython.display import Image
    Image(filename='output1.png',width=800, height=400)
    

提交回复
热议问题