Hello John,
On 17.06.06, John Owens wrote:
> Joerg Lehmann <joergl <at> users.sourceforge.net> writes:
>
> > I'd would like to suggest to use
> >
> > - color.gradient for the continuous version and
> > - color.palette for the discrete version
> >
> > AFAIR, this is the notation used by Gimp and I remember to have prefered
> > the name "gradient" already quite some time ago
>
> FYI (Gimp links):
> http://docs.gimp.org/en/gimp-concepts-gradients.html
> http://docs.gimp.org/en/gimp-concepts-palettes.html
I'm pretty sure that using these new names would be better.
> > I'd suggest to put it into color.py (if it's not too big). The hierarchy
> > should be something like (in the above proposed naming scheme):
> >
> > color.palette.namexyz
>
> So either color.palette is just fine to write, or attr.changelist also works.
I'm not sure I understand. color.palette.namexyz would be instances
of attr.changelist.
> color.palette breaks compatibility though (maybe not a bad thing),
> so comments on that would be appreciated.
It would break compatibility but we did worse things in the past. ;-)
Jörg
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user