From 397c6e3f37ed191928ace059402102325aef086b Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=B6rg=20Lehmann?= Date: Mon, 19 Jan 2004 17:39:30 +0000 Subject: [PATCH] update to new attr system git-svn-id: https://pyx.svn.sourceforge.net/svnroot/pyx/trunk/pyx@1261 069f4177-920e-0410-937b-c2a4a81bcd90 --- manual/color.tex | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/manual/color.tex b/manual/color.tex index d9978baf..67952ed3 100644 --- a/manual/color.tex +++ b/manual/color.tex @@ -23,10 +23,10 @@ from pyx import * c = canvas.canvas() -c.fill(path.rect(0, 0, 7, 3), color.gray(0.8)) -c.fill(path.rect(1, 1, 1, 1), color.rgb.red) -c.fill(path.rect(3, 1, 1, 1), color.rgb.green) -c.fill(path.rect(5, 1, 1, 1), color.rgb.blue) +c.fill(path.rect(0, 0, 7, 3), [color.gray(0.8)]) +c.fill(path.rect(1, 1, 1, 1), [color.rgb.red]) +c.fill(path.rect(3, 1, 1, 1), [color.rgb.green]) +c.fill(path.rect(5, 1, 1, 1), [color.rgb.blue]) c.writetofile("color") \end{verbatim} -- 2.11.4.GIT