Skip to content

Releases: ibs-pan/foodwebviz

Small network animation fix

04 May 10:36
Compare
Choose a tag to compare

Foodwebviz is a Python package for the visualization of food webs (trophic networks).

Source: https://github.com/ibs-pan/foodwebviz
Bug reports: https://github.com/ibs-pan/foodwebviz/issues

Installation

Make sure you have Python installed (we recommend Anaconda which comes with a wide range of handy default packages, along with Jupyter Notebooks and convenient Spyder IDE: https://www.anaconda.com/). If you would like to check this package out without full installation - see section "Tutorial".

Install npm: https://docs.npmjs.com/cli/v7/configuring-npm/install

Install orca: npm install -g electron@6.1.4 orca

To create animations, install ImageMagick: https://docs.wand-py.org/en/0.3.5/guide/install.html (on Linux: 'sudo apt-get install libmagickwand-dev')

Open the compressed folder and run the following terminal command from the top-level source directory (on Windows use e.g. Anaconda Prompt):

$ pip install .

Tutorial

examples/sample_output contains examples of visualisations (screenshots of interactive heatmap and graph visualisations)
examples/interactive_food_web_graph.html is an example of an interactive graph in HTML that can be viewed also without installing everything
examples/foodwebviz_tutorial.ipynb is an interactive Jupyter Notebook with code examples and functionality overview.

To get information on a specific function/method "function_name" please execute "help(function_name)" in a Jupyter Notebook or Python console. You can also play with the tutorial notebook without installing the package locally: https://mybinder.org/v2/gh/ibs-pan/foodwebviz/master?filepath=examples%2Ffoodwebviz_tutorial.ipynb

Updates since v.1.0.1:
We have fixed a bug that broke the animation method for very small networks (<10 nodes), signaled as Issue 10: #10

foodwebviz v1.0.1

19 Apr 16:05
Compare
Choose a tag to compare

Foodwebviz is a Python package for the visualization of food webs (trophic networks).

Source: https://github.com/ibs-pan/foodwebviz
Bug reports: https://github.com/ibs-pan/foodwebviz/issues

Installation

Make sure you have Python installed (we recommend Anaconda which comes with a wide range of handy default packages, along with Jupyter Notebooks and convenient Spyder IDE: https://www.anaconda.com/). If you would like to check this package out without full installation - see section "Tutorial".

Install npm: https://docs.npmjs.com/cli/v7/configuring-npm/install

Install orca: npm install -g electron@6.1.4 orca

To create animations, install ImageMagick: https://docs.wand-py.org/en/0.3.5/guide/install.html (on Linux: 'sudo apt-get install libmagickwand-dev')

Open the compressed folder and run the following terminal command from the top-level source directory (on Windows use e.g. Anaconda Prompt):

$ pip install .

Tutorial

examples/sample_output contains examples of visualisations (screenshots of interactive heatmap and graph visualisations)
examples/interactive_food_web_graph.html is an example of an interactive graph in HTML that can be viewed also without installing everything
examples/foodwebviz_tutorial.ipynb is an interactive Jupyter Notebook with code examples and functionality overview.

To get information on a specific function/method "function_name" please execute "help(function_name)" in a Jupyter Notebook or Python console. You can also play with the tutorial notebook without installing the package locally: https://mybinder.org/v2/gh/ibs-pan/foodwebviz/master?filepath=examples%2Ffoodwebviz_tutorial.ipynb

Updates since v.1.0.0:
We have added the missing example input files in CSV and XLS formats.

Foodwebviz

21 Feb 11:39
830a294
Compare
Choose a tag to compare

The official release of foodwebviz - a Python package for food web visualisation. Release accompanies a publication in Methods in Ecology and Evolution.