inference.rst: Small improvements

6 jobs for master
Status Name Job ID Coverage
  Test
passed job_clang_amd64 #2016
amd64

02:53:02

failed job_clang_amd64_nosh #2020
amd64

02:46:11

failed job_clang_py2_amd64 #2018
amd64

02:48:55

passed job_gcc_amd64 #2015
amd64

02:12:38

failed job_gcc_amd64_nosh #2019
amd64

02:08:32

failed job_gcc_py2_amd64 #2017
amd64

02:08:22

 
Name Stage Failure
failed
job_gcc_py2_amd64 Test There is an unknown failure, please try again

Doctest summary
===============
964 tests
4 failures in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems, 160 warnings.
ERROR: Build failed: exit status 1
failed
job_clang_py2_amd64 Test There is an unknown failure, please try again

Doctest summary
===============
964 tests
4 failures in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems, 160 warnings.
ERROR: Build failed: exit status 1
failed
job_gcc_amd64_nosh Test There is an unknown failure, please try again

Doctest summary
===============
964 tests
1 failure in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems, 154 warnings.
ERROR: Build failed: exit status 1
failed
job_clang_amd64_nosh Test There is an unknown failure, please try again
    1 failure in tests
0 failures in setup code
0 failures in cleanup code
build finished with problems, 154 warnings.
/usr/lib/python3.5/site-packages/matplotlib/pyplot.py:524: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
max_open_warning, RuntimeWarning)
/usr/lib/python3.5/site-packages/matplotlib/pyplot.py:524: RuntimeWarning: More than 20 figures have been opened. Figures created through the pyplot interface (`matplotlib.pyplot.figure`) are retained until explicitly closed and may consume too much memory. (To control this warning, see the rcParam `figure.max_open_warning`).
max_open_warning, RuntimeWarning)
ERROR: Build failed: exit status 1