Skip to content

Commit 4c546bb

Browse files
committed
add autorun support
1 parent 89b5c82 commit 4c546bb

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

‎docs/source/conf.py‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,3 +111,12 @@
111111

112112
autorun_languages = {}
113113
autorun_languages['pycon_output_encoding'] = 'UTF-8'
114+
autorun_languages['pycon_input_encoding'] = 'UTF-8'
115+
autorun_languages['pycon_runfirst'] = """
116+
from spatialmath import SE3
117+
SE3._color = False
118+
import numpy as np
119+
np.set_printoptions(precision=4, suppress=True)
120+
from ansitable import ANSITable
121+
ANSITable._color = False
122+
"""

0 commit comments

Comments
 (0)