【发布时间】:2022-11-02 01:51:12
【问题描述】:
出现在我的 GitHub 上的代码与我编写的可以下载的代码并不完全相同。
这正是我的意思:
我的存储库的链接是
https://github.com/stefanovic80/PythonMap/blob/master/Python_Map_ipyleaflet.ipynb
这是一个 jupyter 笔记本代码。问题出现在第一个单元格中,在 GitHub 上显示如下
from IPython.display import display, HTML
display(HTML(""))
display(HTML(""))
display(HTML(""))
但这不是我写的,不是我几天前能读到的,甚至不是我克隆后在本地机器上得到的!
因此,最近发生了一些事情,但我不知道是什么!
事实上,一旦克隆,在我的机器上我就可以拥有正确的代码行
from IPython.display import display, HTML
display(HTML("<style>.container { width:100% !important; }</style>"))
display(HTML("<style>.output_result { max-width:100% !important; }</style>"))
display(HTML("<style>.prompt { display:none !important; }</style>"))
发生了什么?
我希望有机会在需要时直接从我的 GitHub 复制和粘贴代码,而无需通过克隆过程。请给我一些建议好吗?
【问题讨论】:
标签: github