From 7a348544224dbafda8f0aa7a24aec694e765a7be Mon Sep 17 00:00:00 2001 From: Conner Fromknecht Date: Sat, 1 Jul 2017 17:08:18 -0700 Subject: [PATCH] Update README.rst Shell command for amending matplotlibrc, inspired by pyfolio --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 88000e24..eabc032d 100644 --- a/README.rst +++ b/README.rst @@ -173,13 +173,13 @@ Exiting an environment is accomplished using ``deactivate``, and removing it ent OS X + virtualenv + matplotlib ------------------------------------- -A note about using matplotlib in virtual enviroments on OS X: it may be necessary to add +A note about using matplotlib in virtual enviroments on OS X: it may be necessary to run .. code-block:: python - backend : TkAgg + echo "backend: TkAgg" > ~/.matplotlib/matplotlibrc -to your ``~/.matplotlib/matplotlibrc`` file, in order to override the default ``macosx`` backend for your system, which may not be accessible from inside the virtual environment. +in order to override the default ``macosx`` backend for your system, which may not be accessible from inside the virtual environment. This will allow Catalyst to open matplotlib charts from within a virtual environment, which is useful for displaying the performance of your backtests. To learn more about matplotlib backends, please refer to the `matplotlib backend documentation `_.