Revision: 6749
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6749&view=rev
Author:   mdboom
Date:     2009-01-06 19:36:29 +0000 (Tue, 06 Jan 2009)

Log Message:
-----------
Fix stix_font_demo.py

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/mathtext.py

Modified: trunk/matplotlib/lib/matplotlib/mathtext.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/mathtext.py 2009-01-06 19:34:52 UTC (rev 
6748)
+++ trunk/matplotlib/lib/matplotlib/mathtext.py 2009-01-06 19:36:29 UTC (rev 
6749)
@@ -2296,7 +2296,7 @@
         def _get_font(self):
             return self._font
         def _set_font(self, name):
-            if name in Parser._fontnames:
+            if name in ('rm', 'it', 'bf'):
                 self.font_class = name
             self._font = name
         font = property(_get_font, _set_font)


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to