美文网首页
解决chrome浏览器显示jupyter-lab不完全显示问题

解决chrome浏览器显示jupyter-lab不完全显示问题

作者: uurr | 来源:发表于2021-09-28 10:08 被阅读0次

没有找到相关的方法,另辟蹊径,换firefox浏览器,显示正常,系统为ubuntu 18.10。

  1. 修改 ~/.jupyter/jupyter_notebook_config.py
  2. 加入以下代码,如果你想换成其他的浏览器,把路径和firefox改成其它浏览器所在位置和名字即可,比如,sougou?
import webbrowser
webbrowser.register("firefox",None,webbrowser.GenericBrowser("/usr/bin/firefox"))
c.NotebookApp.browser = 'firefox'

相关文章

网友评论

      本文标题:解决chrome浏览器显示jupyter-lab不完全显示问题

      本文链接:https://www.haomeiwen.com/subject/tgvlnltx.html