.matplotlibrc not respected during interactive session

I am seeing some strange behavior during IPython and vanilla Python
interactive sessions. My .matplotlibrc is not being respected. I have tried
making changes to the copy in my home diretory and the one
in /usr/share/matplotlib. If I run the commands below or do an
execfile('/home/darren/test.py') from an interactive session, .matplotlibrc
is not read. If I run the script from the console, .matplotlibrc is read.

I'm on gentoo with either 0.63.0 or the current cvs, python 2.3.3. Has
anyboody else seen this?

from matplotlib.matlab import *
a=[1,10,100,1000,10000]
figure(1)
loglog(a,a)
figure(2)
plot(a,a)
show()

ยทยทยท

--

Darren