From: matthew a. <ma...@ca...> - 2004-03-04 06:11:37
|
Well that was one juicy update! I was just trying to figure out how to speed up the completer in interactive.py (which adds a noticable lag to the prompt if len(locals()) gets to 3000 like it does for me) when I noticed this new release. TkAgg allows me to use the default python in interactive mode, which allows me to use rlcompleter, *and* have matplotlib plots pop up without losing the prompt. Which is all lovely. A couple of issues I noticed with TkAgg: * fontTools installed one of its files (FontTools.pth I think) without read permission for normal users, which cause import fontTools to fail mysteriously * fontTools didn't find my TTF fonts because the extensions were TTF instead of ttf * if I savefig('file.eps') from the TkAgg backend, the EPS file is sized to something much bigger than A4 (but it still works fine from the GTK backend) * after playing around, I found that text.fontname : sans in .matplotlibrc is the only way to get reasonably nice sans serif both in TkAgg and in eps files. Otherwise I get complaints from one or the other (e.g. if I specify Arial or Helvetica). Cheers and thanks, Matthew. |