|
From: <md...@us...> - 2008-08-05 17:25:15
|
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.
|