From: Darren D. <dd...@co...> - 2006-03-09 18:40:42
|
On Wednesday 08 March 2006 16:48, you wrote: > >>>>> "Darren" == Darren Dale <dd...@co...> writes: > > Darren> Any objections to making the backend rc setting > Darren> case-insensitive? > > I think it is a good idea -- just put a .lower() in the relevant > places. Unfortunately, it wasnt as easy as that. I had some trouble with plots and toolbars not rendering (although the window would render), and the debug-annoying output wasnt helpful, so I gave up on this route. Instead, I made a validate_backend function that validates "gtkagg" regardless of the case, and returns the properly formatted "GTKAgg". I tested with backend_driver, I tried setting the backend with the use function, and with the -d flag at runtime, all tests passed. Changes in svn. Darren |