Display / Render an HTML file inside Jupyter Notebook on Google Colab platform

前端 未结 3 1368
忘掉有多难
忘掉有多难 2021-02-03 11:03

I am using Google Colab to work create maps with Python 3.0 and I have done so using Basemaps. I am next trying to create similar maps using Google Maps. There are two python pa

3条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-03 11:45

    Try full path to your file: /content/my_map.html

    The code should be:

    import IPython
    IPython.display.HTML(filename='/path/to/your/filename')
    

提交回复
热议问题