【发布时间】:2012-11-12 16:40:34
【问题描述】:
我想将 ipython 笔记本中的字体类型更改为 consolas 字体类型。我首先使用
ipython profile create
但是,我不清楚在这个配置文件中指定字体类型的语法。
感谢任何帮助。
谢谢,
-乌玛
【问题讨论】:
标签: ipython
我想将 ipython 笔记本中的字体类型更改为 consolas 字体类型。我首先使用
ipython profile create
但是,我不清楚在这个配置文件中指定字体类型的语法。
感谢任何帮助。
谢谢,
-乌玛
【问题讨论】:
标签: ipython
ipython notebook(ipython 的网络界面)使用标准的 html/css 来定义外观。如果您对这些文件进行更改,它将改变您的 ipython 笔记本的外观。
找到你的 ipython egg 发行版。我使用easy_install安装了我的,所以我的路径如下所示:
/usr/lib/python2.6/site-packages/ipython-0.12.1-py2.6.egg/IPython/frontend/html/notebook/static/css
基本上你只是想找到 ipython 的安装位置,然后转到上面显示的路径。更新您的 css,重新启动您的 ipython 服务器,您应该一切顺利。
【讨论】: