diff --git a/doc/source/tutorial/plot_graphene.py b/doc/source/tutorial/plot_graphene.py index 0771b5ccdea7213323c904e58a969b31373d6cfc..c0fb18906484c08b727a6d3cd6246018a5dae979 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):