From: John H. <jdh...@ac...> - 2006-01-22 18:35:25
|
>>>>> "Fernando" == Fernando Perez <Fer...@co...> writes: Fernando> TypeError: resize() takes exactly 2 arguments (3 given) Yes, this is basically broken on all GUIs except GTK*. There was a fair amount of discussion back in octover on the devel list about how to do this right, since basically it requires a child to call a method on the parent and we don't know a-priori what the container will be. In pylab we can make it work (but haven't yet across backends) because we know the parent will be a FigureManager instance, but it would be nice to come up with a generic method that works regardless of whether you are using mpl in pylab or not. It's on the slow burner, currently. JDH |