Added ipython test code back and extensions loading

This commit is contained in:
Alan Saul 2013-02-08 16:16:02 +00:00
parent 6a43359727
commit 77cadbbcb5
2 changed files with 6 additions and 6 deletions

View file

@ -87,8 +87,8 @@ extensions = ['sphinx.ext.autodoc',
#'sphinx.ext.doctest'
'sphinx.ext.viewcode',
'sphinx.ext.pngmath'
#'ipython_directive',
#'ipython_console_highlighting.py'
'ipython_directive',
'ipython_console_highlighting.py'
#'matplotlib.sphinxext.mathmpl',
#'matplotlib.sphinxext.only_directives',
#'matplotlib.sphinxext.plot_directive',

View file

@ -2,10 +2,10 @@
Gaussian process regression tutorial
*************************************
#.. ipython:: python
#
# print "Hello world"
# X = [[1, 10], [1, 20], [1, -2]]
.. ipython:: python
print "Hello world"
X = [[1, 10], [1, 20], [1, -2]]
We will see in this tutorial the basics for building a 1 dimensional and a 2 dimensional Gaussian process regression model, also known as a kriging model.