diff --git a/doc/source/images/ab_ring.py.diff b/doc/source/images/ab_ring.py.diff
index 7bb4c59b77bd9b5800031a959d458c68b9ee4b4a..de1e879af6e09e377f83f4409af59fb9ece0c6d2 100644
--- a/doc/source/images/ab_ring.py.diff
+++ b/doc/source/images/ab_ring.py.diff
@@ -97,7 +97,7 @@
      # Finalize the system.
      sys = sys.finalized()
 @@ -111,6 +169,17 @@
-                                                 for i in xrange(100)])
+                                                 for i in range(100)])
  
  
 +    # Finally, some plots needed for the notes
diff --git a/doc/source/images/graphene.py.diff b/doc/source/images/graphene.py.diff
index d4444aff257eda32e6a21bef257f90dace0790aa..3c689c01af0bf9ac8fbda6bebb2fad3fd348a531 100644
--- a/doc/source/images/graphene.py.diff
+++ b/doc/source/images/graphene.py.diff
@@ -1,6 +1,7 @@
 --- original
 +++ modified
-@@ -11,5 +11,6 @@
+@@ -10,6 +10,7 @@
+ #  - Application of all the aspects of tutorials 1-3 to a more complicated
  #    lattice, namely graphene
  
 +import _defs