Skip to content

Commit c4b2183

Browse files
committed
Add some preamble for autorun
hacking my own fork of autorun
1 parent 78a4917 commit c4b2183

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

docs/source/conf.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,10 @@
9090
# extensions = ['rst2pdf.pdfbuilder']
9191
# pdf_documents = [('index', u'rst2pdf', u'Sample rst2pdf doc', u'Your Name'),]
9292
autorun_languages = {}
93-
autorun_languages['pycon_output_encoding'] = 'UTF-8'
93+
autorun_languages['pycon_output_encoding'] = 'UTF-8'
94+
autorun_languages['pycon_initial_code'] = [
95+
"from spatialmath import SE3",
96+
"SE3._color = False",
97+
"import numpy as np",
98+
"np.set_printoptions(precision=4, suppress=True)",
99+
]

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy