擅长:python、mysql、java
<p>对于将来偶然发现这一点的人来说,有一个解决方案。Github不会在.ipynb文件中运行javascript扩展名,但这正是nbviewer的用途。只需将github上的文件的URL输入nbviewer主网站。你知道吗</p>
<p>例如,检查目录javascript扩展(第一个单元格)如何在nbviewer上运行</p>
<p><a href="https://nbviewer.jupyter.org/github/lukepolson/Python-Self-Learning/blob/master/Matplotlib_2-Additional_Features.ipynb" rel="nofollow noreferrer">https://nbviewer.jupyter.org/github/lukepolson/Python-Self-Learning/blob/master/Matplotlib_2-Additional_Features.ipynb</a></p>
<p>但不是在github上</p>
<p><a href="https://github.com/lukepolson/Python-Self-Learning/blob/master/Matplotlib_2-Additional_Features.ipynb" rel="nofollow noreferrer">https://github.com/lukepolson/Python-Self-Learning/blob/master/Matplotlib_2-Additional_Features.ipynb</a></p>