From 2e752cf0ed58fdb9913666c132e01b064ca5be7d Mon Sep 17 00:00:00 2001
From: Anton Akhmerov <anton.akhmerov@gmail.com>
Date: Thu, 23 Jul 2015 01:35:43 +0200
Subject: [PATCH] remove deprecated sys.site

---
 doc/source/tutorial/plot_graphene.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/doc/source/tutorial/plot_graphene.py b/doc/source/tutorial/plot_graphene.py
index 0771b5cc..c0fb1890 100644
--- a/doc/source/tutorial/plot_graphene.py
+++ b/doc/source/tutorial/plot_graphene.py
@@ -73,7 +73,7 @@ def plot_data(sys, n):
     # use two different sort of triangles to cleanly fill the space
 #HIDDEN_BEGIN_plotdata3
     def family_shape(i):
-        site = sys.site(i)
+        site = sys.sites[i]
         return ('p', 3, 180) if site.family == a else ('p', 3, 0)
 
     def family_color(i):
-- 
GitLab