From: Steve C. <ste...@ya...> - 2004-11-24 02:13:42
|
On Tue, 2004-11-23 at 15:28 -0600, John Hunter wrote: > Steve> - for some errors I needed to display a matplotlib message > Steve> rather than the default exception message, or to raise an > Steve> exception where error_msg () was used with no exception. I > Steve> added an 'MPLError' exception, its probably best to move it > Steve> into a central file if other people need to use it also. > > Perhaps in matplotlib.__init__ ? OK, I've added "MPLError' a subclass of Exception to matplotlib.__init__ Steve |