diff --git a/docs/examples.rst b/docs/examples.rst index 97c52554..ba779362 100644 --- a/docs/examples.rst +++ b/docs/examples.rst @@ -216,20 +216,19 @@ Run the following command, where the RES will be saved as the file ``res.png``:: $ otoole viz res excel simplicity.xlsx res.png config.yaml .. WARNING:: - If you encounter a ``graphviz`` dependency error, please install it in your - virtual environment through:: - - pip install graphviz # if using pip - conda install graphviz # if using conda - - Alternatively, you can install it on your system via the commands:: + If you encounter a ``graphviz`` dependency error, install it on your system + from the graphviz_ website (if on Windows) or via the command:: sudo apt install graphviz # if on Ubuntu brew install graphviz # if on Mac - Or from the graphviz_ website if on Windows. + To check that ``graphviz`` installed correctly, run ``dot -V`` to check the + version:: + + ~$ dot -V + dot - graphviz version 2.43.0 (0) -2. View the RES +1. View the RES ~~~~~~~~~~~~~~~ Open the newly created file, ``res.png`` and the following image should be displayed diff --git a/docs/requirements.txt b/docs/requirements.txt index 0665d857..6b659fb8 100644 --- a/docs/requirements.txt +++ b/docs/requirements.txt @@ -1,6 +1,5 @@ amply>=0.1.4 docutils<0.18 -graphviz flatten_dict Jinja2<3.1 networkx diff --git a/setup.cfg b/setup.cfg index 3f94cc37..7fbcbb43 100644 --- a/setup.cfg +++ b/setup.cfg @@ -53,7 +53,6 @@ install_requires = flatten_dict openpyxl pydantic>=2 - graphviz [options.packages.find] where = src exclude =