|
From: <md...@us...> - 2010-05-20 16:33:44
|
Revision: 8329
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8329&view=rev
Author: mdboom
Date: 2010-05-20 16:33:38 +0000 (Thu, 20 May 2010)
Log Message:
-----------
Fix font manager bug.
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/font_manager.py
Modified: trunk/matplotlib/lib/matplotlib/font_manager.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/font_manager.py 2010-05-20 16:19:53 UTC (rev 8328)
+++ trunk/matplotlib/lib/matplotlib/font_manager.py 2010-05-20 16:33:38 UTC (rev 8329)
@@ -1070,7 +1070,7 @@
family1 = family1.lower()
if family1 in font_family_aliases:
if family1 in ('sans', 'sans serif'):
- family1 == 'sans-serif'
+ family1 = 'sans-serif'
options = rcParams['font.' + family1]
options = [x.lower() for x in options]
if family2 in options:
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|