From: John H. <jdh...@ac...> - 2004-04-22 16:06:34
|
>>>>> "Yann" == Yann Le Du <yan...@no...> writes: Yann> So it looks as though you check for change in content, but Yann> not for change in size. Yep, you're right. mathtext does cache for efficiency and the fontsize key was not being used in the cache. This does not affect normal text, which does the caching properly. The good news it's a one-line-fix. In matplotlib.mathtext.math_parse_s, change the cacheKey to cacheKey = (s, dpi, fontsize) Thanks for the detailed report. JDH |