Revision: 5974
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5974&view=rev
Author: mdboom
Date: 2008-08-05 17:25:12 +0000 (Tue, 05 Aug 2008)
Log Message:
-----------
[ 2031308 ] FontProperties and Latex code (FontProperties should be
copied into the text instance so they can be re-used without side
effects)
Modified Paths:
--------------
trunk/matplotlib/lib/matplotlib/text.py
Modified: trunk/matplotlib/lib/matplotlib/text.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/text.py 2008-08-04 18:43:08 UTC (rev
5973)
+++ trunk/matplotlib/lib/matplotlib/text.py 2008-08-05 17:25:12 UTC (rev
5974)
@@ -647,7 +647,7 @@
"""
if is_string_like(fp):
fp = FontProperties(fp)
- self._fontproperties = fp
+ self._fontproperties = fp.copy()
artist.kwdocd['Text'] = artist.kwdoc(Text)
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins