Hi Joerg,

On Fri, 3 Mar 2006, Joerg Lehmann wrote:

> Hi Arnd,
>
> On 27.02.06, Arnd Baecker wrote:
> > what happened to ``self.domethods``? I used this to add my own
> > stuff (e.g. to add a title to a plot) and it seems
> > that in present CVS they are gone.
> > The ChangeLog says "- new domethods dependency handling"
>
> The domethods handling has been rewritten indeed and is now
> more flexible.
>
> > To be more precise: I used  a subclass of ``pyx.graph.graphxy`` with
> >   self.domethods = [ self.dolayout,  self.dobackground, self.dodata,
> >                      self.doaxes, self.dokey,
> >                      self.somefurther_routine]
> >
> > What is now the preferred way of changing the order or adding
> > routines? Is overriding ``finish`` the way to go?
>
> Exactly. But that should not be a problem, that's exactly what
> an object-oriented system is good for, isn't it?

Absolutely - I just wanted to be sure that I don't change
things back and forth in my code ;-).

Best, Arnd


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to