From e78ceba9c7ceb18a5adfb3207c62f99d5c05c737 Mon Sep 17 00:00:00 2001
From: Marco Biasini <marco.biasini@unibas.ch>
Date: Mon, 21 Feb 2011 22:20:57 +0100
Subject: [PATCH] fix example

---
 examples/code_fragments/entity/gfx_selection.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/examples/code_fragments/entity/gfx_selection.py b/examples/code_fragments/entity/gfx_selection.py
index 7297a7e9d..5b3a92d3a 100644
--- a/examples/code_fragments/entity/gfx_selection.py
+++ b/examples/code_fragments/entity/gfx_selection.py
@@ -3,7 +3,7 @@ go=gfx.Entity("test",eh.CreateFullView())
 ev = eh.Select(mol.Query("rnum=2,3,8,13"))
 go.SetSelection(ev)
 go.SetRenderMode(gfx.RenderMode.CUSTOM)
-go.SetColor(gfx.Color(0xffff00),"(ele=C and rnum=1:4)")
+go.SetColor(gfx.YELLOW,"(ele=C and rnum=1:4)")
 scene.Add(go)
 scene.SetCenter(go.GetCenter())
 
-- 
GitLab