Change font type for ipython


I want to change the font type in my ipython laptop to the consolas font type. First I created a profile using

ipython profile create

But I do not understand, in the syntax, specify the font type in this configuration file.

Any help is appreciated.

Thanks,
-Uma

+4
source share
1 answer

The ipython laptop (web interface for ipython) uses standard html / css to determine the look. If you make changes to these files, this will change the look of your ipython laptop.

Find the egg distribution on ipython. I installed mine using easy_install, so my path is as follows:

 /usr/lib/python2.6/site-packages/ipython-0.12.1-py2.6.egg/IPython/frontend/html/notebook/static/css 

Basically you just want to find the ipython installation location, then go to the path shown above. Update your css, restart your ipython server, and you should be good to go.

+4
source

Source: https://habr.com/ru/post/1445566/


All Articles