From e5576fecdefcada89f704fba5ba61b8bd3d2bd77 Mon Sep 17 00:00:00 2001 From: Amir MOHAMMADI <amir.mohammadi@idiap.ch> Date: Wed, 7 Jun 2017 11:24:25 +0200 Subject: [PATCH] remove matplotllib rc modifications since these can be changed with an rc file without modifying the code --- bob/bio/base/script/evaluate.py | 7 ------- doc/installation.rst | 9 +++------ 2 files changed, 3 insertions(+), 13 deletions(-) diff --git a/bob/bio/base/script/evaluate.py b/bob/bio/base/script/evaluate.py index 31494949..3da78d5c 100644 --- a/bob/bio/base/script/evaluate.py +++ b/bob/bio/base/script/evaluate.py @@ -19,13 +19,6 @@ import matplotlib; matplotlib.use('pdf') #avoids TkInter threaded start from matplotlib import pyplot from matplotlib.backends.backend_pdf import PdfPages -# enable LaTeX interpreter -matplotlib.rc('text', usetex=False) -matplotlib.rc('font', family='serif') -matplotlib.rc('lines', linewidth = 4) -# increase the default font size -matplotlib.rc('font', size=18) - import bob.core logger = bob.core.log.setup("bob.bio.base") diff --git a/doc/installation.rst b/doc/installation.rst index 90625bec..4d6c9977 100644 --- a/doc/installation.rst +++ b/doc/installation.rst @@ -82,16 +82,13 @@ updated, and the corrected paths for those you have. If you have installed only ``bob.bio.base``, there is no database listed -- as all databases are included in other packages, such as :ref:`bob.bio.face <bob.bio.face>` or :ref:`bob.bio.spear <bob.bio.spear>`. + Also, please don't forget that you need to install the corresponding + ``bob.db.<name>`` package as well. Test your Installation ---------------------- -.. note:: - - For some of the tests to pass, you need to install - `LaTeX <https://en.wikipedia.org/wiki/LaTeX>`_ on your machine. - You can install the ``nose`` package to test your installation and use that to verify your installation: @@ -126,7 +123,7 @@ To avoid the download to happen each time you call the nose tests, please: .. code-block:: sh - $ export ATNT_DATABASE_DIRECTORY=/path/to/your/copy/of/atnt + $ export ATNT_DATABASE_DIRECTORY=/path/to/your/copy/of/atnt/orl_faces In case any of the tests fail for unexplainable reasons, please send a report -- GitLab