On Tue, Oct 21, 2008 at 9:14 AM, jason_h <[EMAIL PROTECTED]> wrote:

> Unfortunately that doesn't work for me. I get a "ValueError: Unrecognized
> backend string "module://mybackend"" in rcsetup.py. Any other suggestions?
> Matplotlib ist version 0.98.3.

Hmm, strangely, the rcsetup function was reverted and as you note, is
broken,  I just fixed it in svn to respect the flag, and tested with
the use directive and -d, both of which worked for me.  If you don't
want to update to svn HEAD, you can edit rcsetup.py on your system and
replace::

    validate_backend = ValidateInStrings('backend', all_backends,
ignorecase=True)

with::

    _validate_standard_backends = ValidateInStrings('backend',
all_backends, ignorecase=True)
    def validate_backend(s):
        if s.startswith('module://'): return s
        else: return _validate_standard_backends(s)


Should work...

JDH

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to