Hi Michael,
I was playing with python directly, so:
$ python
Python 2.7.2 (default, Mar 10 2012, 02:39:52)
[GCC 4.5.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from matplotlib import font_manager
>>> font_manager.path
'/home/mmokrejs/.fonts'
>>> font
On 03/26/2012 04:36 PM, Martin Mokrejs wrote:
> Hi,
>I wondered why the matplotlib.font_manager.rcParams contains sometimes
> escaped minus signs in font names:
font_manager.rcParams['mathtext.sf']
> 'sans\\-serif'
font_manager.findfont('sans-serif')
> Traceback (most recent call last
Hi,
I wondered why the matplotlib.font_manager.rcParams contains sometimes
escaped minus signs in font names:
>>> font_manager.rcParams['mathtext.sf']
'sans\\-serif'
>>>
>>> font_manager.findfont('sans-serif')
Traceback (most recent call last):
File "", line 1, in
File "/usr/lib64/python2.