Hi Simon,

On 15.02.06, Simon Burton wrote:
> ...
> 
> g.plot(d, styles = [graph.style.symbol.diamond])

PyX is more verbose:

g.plot(d, styles = [graph.style.symbol(symbol=graph.style.symbol.diamond)])

Still, I kind of like graph.style.symbol.diamond to be used as a style
directly. We do similar things elsewhere (like deco.earrow.Large),
which is a specific deco instance and still can be modified by
__call__. I have to think about this a bit. Its a very interesting
idea (and that obvious, that it's really strange, that we didn't
discussed that already).


André

-- 
by  _ _      _    Dr. André Wobst
   / \ \    / )   [EMAIL PROTECTED], http://www.wobsta.de/
  / _ \ \/\/ /    PyX - High quality PostScript and PDF figures
 (_/ \_)_/\_/     with Python & TeX: visit http://pyx.sourceforge.net/


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
PyX-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyx-user

Reply via email to