-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Dear André, dear Jörg,
thanks a lot for your replies. The hint with None helps me to do what I need. It probably could be debated what the expected behavior is. As far as I understand, None applies only for the last entry in a stack. So one could keep (2, 2, 3) for three bar pieces but would need to replace (2, 2) by (2, None). I am not sure whether this is very consistent although it is of course well defined. Having an extra flag like André had proposed, seems very nice from a user perspective because it avoids the need to write an extra filter (of course, it would need to be written for PyX). In my present application, I sometimes encounter data where no problem with boxes of zero height arises and I would be tempted to forget about filtering. But the data for next year could be different and I get bitten by not having implemented a filter. Setting a flag could be done routinely instead. Concerning explicit vs. implicit: Of course, I agree that explicit is better, but I would have expected that a bar of height 0 has zero height and not a finite height. But I can see your point, Jörg, that other users might expect to see something rather than nothing and in some cases this might be the desired behavior. Best regards, Gert - -- Gert-Ludwig Ingold email: [email protected] Institut für Physik Phone: +49-821-598-3234 Universität Augsburg Fax : +49-821-598-3222 D-86135 Augsburg WWW : www.physik.uni-augsburg.de/theo1/ingold Germany PGP : 86FF5A93, key available from homepage -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAlWCpmcACgkQ4E2iM4b/WpPLYACgtudDa0fMsly/tRIzZ6BACsCz de4An3uqtmaGrdq0XNuwRSR/cOJNvwjP =ZBHW -----END PGP SIGNATURE----- ------------------------------------------------------------------------------ _______________________________________________ PyX-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/pyx-user
