Hi Carl,
On 08.02.06, Carl Bolduc wrote:
> I would like to render the red bars black, and the blue ones white.
You need to change the barattrs property of the bar style.
> Here is the code:
> [graph.style.barpos(fromvalue=0, subnames = ["SAGE", "Q\_RT-PCR"]),
> graph.style.bar(), graph.style.errorbar()])
Use
graph.style.bar(barattrs=[color.palette.ReverseGray])
or
graph.style.bar(barattrs=[attr.changelist([color.gray.black,
color.gray.white])])
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