[Python] How to change font in ipython notebook

Discussão em 'Python' iniciado por Stack, Julho 19, 2025.

  1. Stack

    Stack Membro Participativo

    I am fairly new to python and have no html experience. The question has been asked and either not answered at all or not answered in enough detail for me to set the default font within iPython (not change to browser). Specifically, what has to be put in the css file and which css file should be used? I am on a Windows system.

    For reference, these are in answer to the linked SO questions below:

    • in #1: an unnamed file in /usr/lib/python2.6/.../css/
    • in comment to #1: change monospace font in browser - worked but font is italic
    • in #2: custom.css in profile subdirectory /static/custom/custom.css

    Related questions:

    1. Change ipython notebook font type
    2. Change font & background color in ipython notebook
    3. Changing (back to default) font in ipython notebook (unanswered) -

    Edit: Changing the monospace font in my browser worked, as suggested in an answer comment of #1. However the font is italic, which is not what is intended.

    Continue reading...

Compartilhe esta Página