Hi Stefan,

Am 27.10.2010 um 22:45 schrieb Stefan Schenk:
> I'm still not sure I understand your argument. I agree that the texter 
> creates just the label text for the ticks, but why shouldn't it be 
> possible to set texter=None? I agree that my quick patch might not be 
> the best way to implement this, but right now to me the texter seems 
> inconsistent to the way the parter works, for example. 


Well, the texter is not responsible to decide whether labels are to be created 
or not. Please check the output generated when setting tick.label = "". It will 
contain empty text output (I didn't try; we might optimize this to get rid of 
empty text output – I'm not sure). This is different from having 
tick.labellevel equals None for all ticks, where no output is generated at all 
or using labelattrs=None in the painter, where no output for the labels is 
generated either.

And please do not suggest to set tick.labellevel to None for texter equals 
None. Sure you could do that, but this is not the right way (tm) of doing 
things.

André

-- 
by  _ _      _    Dr. André Wobst, Amselweg 22, 85716 Unterschleißheim
   / \ \    / )   [email protected], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/

Attachment: smime.p7s
Description: S/MIME cryptographic signature

------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to