Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Change Jupyter QtConsole settings

Tags:

python

jupyter

It is possible to make persistent changes to settings for default settings on Windows 7? I would like to change font-size and shell size.

like image 563
John Avatar asked Mar 28 '12 11:03

John


1 Answers

Instructions on configuring the ipython command line application are here on IPython's web site. Step-by-step instructions for configuring the font size in particular:

First, create the IPython profile. Simply running IPython or IPython's QtConsole should do this for you, but if you have to do it by hand, run

ipython profile create 

Second, create an IPython config file:

  • Windows - %USERPROFILE%\.ipython\profile_default\ipython_config.py
  • Linux or OS X - ~/.ipython/profile_default/ipython_config.py

Sample IPython contents:

c = get_config()  c.IPythonWidget.font_size = 11 c.IPythonWidget.font_family = 'Consolas' 

There's a more detailed sample config file at ipython.org.

like image 82
Josh Kelley Avatar answered Oct 06 '22 06:10

Josh Kelley