Ask Your Question

Revision history [back]

Hello.
Please see this page. This page is on Russian but has fully documentation for your quesiton.
Wikisage.ru is my project. I collect information on Russian how to work in Sage and regulate my own knowledge as well.

click to hide/show revision 2
russian link doesn't work --> fixed

Hello.
Please see this page. http://wikisage.ru --> Razonoe --> Rusificatsia Mathplotlib. This page is on Russian but has fully documentation for your quesiton.
Wikisage.ru is my project. I collect information on Russian how to work in Sage and regulate my own knowledge as well.

click to hide/show revision 3
missed words are fixed, short instruction is added

Hello.
Please see http://wikisage.ru --> Grafika sredsvami mathplotlib --> Razonoe --> Rusificatsia Mathplotlib. This page is on Russian but has fully documentation for your quesiton.

Shortly you need to do:

import matplotlib as mpl
mpl.rcParams['font.family'] = 'fantasy'
mpl.rcParams['font.fantasy'] = 'Arial' # for Windows
mpl.rcParams['font.fantasy'] = 'Ubuntu' # for Ubuntu
mpl.rcParams['font.fantasy'] = 'Arial, Ubuntu' # for Windows and Ubuntu
plt.title(u'Your text in Russian')
plt.show()

P.S. Wikisage.ru is my project. I collect information on Russian how to work in Sage and regulate my own knowledge as well.