questions about the PS backend

Then the recent change to error_msg_template should be

    > reverted, shouldn't it?

I don't know why is was changed (or what it was before). I just
checked in

def error_msg_template(msg, *args):
    """
    Signal an error condition.
    - in a GUI backend, popup a error dialog.
    - in a non-GUI backend delete this function and use
    'from matplotlib.backend_bases import error_msg'
    """
    verbose.report_error(msg)
    raise SystemExist

All opposed, say Nay!

JDH

Hello John,

I don't know why is was changed (or what it was before).

I think it was just a misunderstanding about how error reporting
is supposed to work.

def error_msg_template(msg, *args):
    """
    Signal an error condition.
    - in a GUI backend, popup a error dialog.
    - in a non-GUI backend delete this function and use
    'from matplotlib.backend_bases import error_msg'
    """
    verbose.report_error(msg)
    raise SystemExist

All opposed, say Nay!

I agree with the code, but I am not the sure about the comment.

All the best,
Jochen

···

On Tue, Nov 02, 2004 at 12:49:28PM -0600, John Hunter wrote:
--
http://seehuhn.de/