Hans Petter Langtangen 13 years ago
parent
commit
dc7e18c851
2 changed files with 2 additions and 0 deletions
  1. 1 0
      doc/src/sketcher/make_primer.sh
  2. 1 0
      pysketcher/MatplotlibDraw.py

+ 1 - 0
doc/src/sketcher/make_primer.sh

@@ -18,6 +18,7 @@ doconce subst '\\noindent\nFilename: \\code\{(.+?)\}' 'Name of program file: \\c
 
 # Figure refs are wrong
 doconce replace "figs-sketcher/" "figs/" *.p.tex
+doconce replace "wheel_on_inclined_plane" "wheel_on_inclined_plane_cropped" *.p.tex
 
 cp basics.p.tex pysketcher_basics.p.tex
 cp implementation.p.tex pysketcher_impl.p.tex

+ 1 - 0
pysketcher/MatplotlibDraw.py

@@ -94,6 +94,7 @@ class MatplotlibDraw:
         if self.instruction_file:
             self.instruction_file.write("""\
 import matplotlib.pyplot as mpl
+import matplotlib.transforms as transforms
 
 mpl.ion()  # for interactive drawing
 """)