From: Joachim B. H. <c.j...@fy...> - 2005-03-17 11:56:12
|
John Hunter wrote: >>>>>>"Steve" == Steve Chaplin <ste...@ya...> writes: > > Steve> John, I've been caught out a few times with this too! I > Steve> think we should change it so -d<nonexistentbackend> raises > Steve> an error, what do you think? > > I'm inclined to leave it as is though, and deal with it as a annoying > problem. Users who are passing -dBackend flags are probably > sophisticated enough to survive this annoyance. But if you have a > clean solution, I'm open to it. Deprecate -d<backend> and introduce --mpl.backend=<backend>? Perhaps extend to allow overriding all .matplotlibrc directives, so you can do --mpl.verbose.level=debug and so on? I think that would be clean, and if you like the idea I can create a patch for it. But I saw -d mentioned as matlab compatible, so if that is important then maybe not. -j. PS. my excuses for not preserving CCs earlier. |