Re: [matplotlib-devel] How to add a new backend?

2008-10-21 Thread jason_h
John Hunter-4 wrote: > > _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... > Thanks. Now ma

Re: [matplotlib-devel] How to add a new backend?

2008-10-21 Thread jason_h
John Hunter-4 wrote: > > On Tue, Oct 21, 2008 at 8:40 AM, John Hunter <[EMAIL PROTECTED]> wrote: > import matplotlib > matplotlib.use('module://my_backend') > Unfortunately that doesn't work for me. I get a "ValueError: Unrecognized backend string "module://mybackend"" in rcsetup.py. Any o

[matplotlib-devel] How to add a new backend?

2008-10-21 Thread jason_h
Hello, we want to add a new backend for some specific XML format. Can I find somewhere a sort of How-To documentation about the required steps? In particular I want to avoid modifying the matplotlib installation which resides in system directories which not every user has access to. Is it possib