Add some preamble for autorun
hacking my own fork of autorun
@@ -91,3 +91,9 @@ show_authors = True
# pdf_documents = [('index', u'rst2pdf', u'Sample rst2pdf doc', u'Your Name'),]
autorun_languages = {}
autorun_languages['pycon_output_encoding'] = 'UTF-8'
+autorun_languages['pycon_initial_code'] = [
+ "from spatialmath import SE3",
+ "SE3._color = False",
+ "import numpy as np",
+ "np.set_printoptions(precision=4, suppress=True)",
+ ]
\ No newline at end of file
