How can I display an image from a file in Jupyter Notebook?

前端 未结 11 1188
被撕碎了的回忆
被撕碎了的回忆 2020-11-28 01:03

I would like to use an IPython notebook as a way to interactively analyze some genome charts I am making with Biopython\'s GenomeDiagram module. While there is extensive doc

11条回答
  •  无人及你
    2020-11-28 01:27

    Note, until now posted solutions only work for png and jpg!

    If you want it even easier without importing further libraries or you want to display an animated or not animated GIF File in your Ipython Notebook. Transform the line where you want to display it to markdown and use this nice short hack!

    ![alt text](test.gif "Title")
    

提交回复
热议问题