From: Werner F. B. <wer...@fr...> - 2005-04-12 15:54:09
|
Hi John, Changing in pylab.py all the .__doc__ where either __doc__ + (only 1) or _shift_string (40 lines) is used to something along these lines: if not Axes.axhline.__doc__ == None: axhline.__doc__ = _shift_string(Axes.axhline.__doc__) + """ Addition kwargs: hold = [True|False] overrides default hold state""" This allows to use the py2exe/Python "Optimize: 2" option again and still have documentation available. Just tested it with the simple_plot_wxagg sample. See you Werner P.S. Attached the file for your perusal. |