I believe this is a known bug with 0.90.1. Are you able to run 0.91.1?
Cheers,
Mike
[EMAIL PROTECTED] wrote:
I'm doing a parameter fitting exercise, and plotting the progress as I
do so. I have found that repeated calls to set_text() on a text object
will result in an error opening a font
I'm doing a parameter fitting exercise, and plotting the progress as I
do so. I have found that repeated calls to set_text() on a text
object will result in an error opening a font file iff the text uses
TeX formatting. (I am not using the experimental usetex feature).
I speculate that
On Dec 11, 2007 8:17 AM, Michael Droettboom [EMAIL PROTECTED] wrote:
I believe this is a known bug with 0.90.1. Are you able to run 0.91.1?
If I am reading this right, according to the svn log, you fixed this in
r4633 | mdboom | 2007-12-05 14:28:28 -0600 (Wed, 05 Dec 2007) | 2 lines
Fix
This bug is that many font files were being opened than needed, but they
were still all getting closed.
Much earlier, someone else fixed a bug where they weren't getting closed
at all.
http://sourceforge.net/tracker/index.php?func=detailaid=1695171group_id=80706atid=560720
I believe this is a known bug with 0.90.1. Are you able to run
0.91.1?
I just upgraded and checked -- the bug still exists in 0.91.1. I'm
afraid I don't know whether it has been fixed by r4633 or not.
Best,
Brian
[EMAIL PROTECTED] wrote:
I'm doing a parameter fitting exercise, and
The patch for r4633 is pretty simple, so you could test it without
needing to check out from SVN or build your own matplotlib etc.
Open the file font_manager.py, which should live in
%PYTHONPATH%/Lib/site-packages/matplotlib. Around line 681, you'll
find the function:
def
: [Matplotlib-users] Repeated calls to set_text using TeX
formatting results in RuntimeError
The patch for r4633 is pretty simple, so you could test it without
needing to check out from SVN or build your own matplotlib etc.
Open the file font_manager.py, which should live in
%PYTHONPATH%/Lib/site-packages
-Original Message-
From: Michael Droettboom [mailto:[EMAIL PROTECTED]
Sent: Tuesday, December 11, 2007 10:03 AM
To: Boonstra, Brian
Cc: matplotlib-users@lists.sourceforge.net
Subject: Re: [Matplotlib-users] Repeated calls to set_text using TeX
formatting results in RuntimeError