Hans Petter Langtangen 13 年之前
父节点
当前提交
dc7e18c851
共有 2 个文件被更改,包括 2 次插入0 次删除
  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
 """)