update to reflect changes to autorun (Peter's version)
@@ -57,16 +57,15 @@ exclude_patterns = ['test_*']
autorun_languages = {}
autorun_languages['pycon_output_encoding'] = 'UTF-8'
autorun_languages['pycon_input_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)",
- "from ansitable import ANSITable",
- "ANSITable._color = False",
- ]
- # "from ansitable import ANSITable"
- # "ANSITable._color = False",
+autorun_languages['pycon_runfirst'] = """
+from spatialmath import SE3
+SE3._color = False
+import numpy as np
+np.set_printoptions(precision=4, suppress=True)
+from ansitable import ANSITable
+ANSITable._color = False
+"""
+
# -- Options for HTML output -------------------------------------------------
html_theme = 'sphinx_rtd_theme'
