|
From: John H. <jd...@gm...> - 2010-10-18 13:49:13
|
On Mon, Oct 18, 2010 at 8:42 AM, Michael Droettboom <md...@st...> wrote:
> matplotlib, under normal usage, doesn't list all files in the current
> directory. Can you provide the steps you perform before calling
> show()? What platform are you on, and which backend are you using?\
The only thing I could think of is that matplotlib.matplotlib_fname does:
fname = os.path.join( os.getcwd(), 'matplotlibrc')
if os.path.exists(fname): return fname
So if os.path.exists is slow for directories with many files, this
could be the culprit (though it would surprise me).
Maximilian, these lines are found in matplotlib/__init__.py -- you may
want to try commenting them out and rerunning to see if this helps
your issue.
JDH
|