I am looking at the py2exe optimize problem, would be nice
> if this could be fixed somehow too.
The basic problem is that pylab wrapper functions get their docstrings
from the respective Axes or Figure functions that they wrap, and then
they add a bit of pylab specific documentation at the end. Most of
the pylab functions are generated by boilerplate.py, which is python
code to generate the pylab wrapper functions.
One solution to change boilerplate.py to embed the doc strings
manually in the pylab wrappers. Eg, instead of generating
plot.__doc__ = _shift_string(Axes.plot.__doc__) + """
Addition kwargs: hold = [True|False] overrides default hold state"""
Actually embed the Axes.plot.__doc__ directly.
This should work with py2exe optimize.