我尝试根据stackoverflow上这个回答来更改ipython qtconsole
的字体大小,但是无论我如何更改~/.ipython/profile_default/ipython_config.py
文件中的内容,字体大小都没有变化。
➜ ~ ipython profile locate
/home/nick/.ipython/profile_default
➜ ~ head .ipython/profile_default/ipython_config.py
# Configuration file for ipython.
c = get_config()
c.IPythonWidget.font_size = 16
c.IPythonWidget.font_family = 'Source Code Pro'
➜ ~ uname -a
Linux nick-thinkpad 4.2.5-1-ARCH #1 SMP PREEMPT Tue Oct 27 08:13:28 CET 2015 x86
_64 GNU/Linux
➜ ~ ipython --version
4.0.0
令我惊奇的是,
ipython qtconsole --ConsoleWidget.font_size=16
能够正常运行。我的配置有什么问题吗?
ipython -> jupyter
的信息以及解决此困境的方案。 - Nick