Skip to main content

Graph Visualization Package

Project description

===============================
nxviz
===============================

.. image:: https://badges.gitter.im/ericmjl/nxviz.svg
:alt: Join the chat at https://gitter.im/ericmjl/nxviz
:target: https://gitter.im/ericmjl/nxviz

.. image:: https://img.shields.io/pypi/v/nxviz.svg
:target: https://pypi.python.org/pypi/nxviz

.. image:: https://img.shields.io/travis/ericmjl/nxviz.svg
:target: https://travis-ci.org/ericmjl/nxviz

.. image:: https://readthedocs.org/projects/nxviz/badge/?version=latest
:target: https://nxviz.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status

.. image:: https://pyup.io/repos/github/ericmjl/nxviz/shield.svg
:target: https://pyup.io/repos/github/ericmjl/nxviz/
:alt: Updates

.. image:: https://pyup.io/repos/github/ericmjl/nxviz/python-3-shield.svg
:target: https://pyup.io/repos/github/ericmjl/nxviz/
:alt: Python 3


`nxviz` is a graph visualization package for NetworkX. With nxviz, you can create beautiful graph visualizations by a **declarative** API. Here's an example.

.. code:: python

# Assume we have a professional network of physicians belonging to hospitals.
c = CircosPlot(G, node_color='affiliation', node_grouping='affiliation')
c.draw()
plt.show() # only needed in scripts

* This is free software distributed under the MIT License.

Installation
------------

We recommend using conda_.

.. code:: bash

$ conda install nxviz

Alternatively, it is also available on PyPI_.

.. code:: bash

$ pip install nxviz

.. _conda: https://www.anaconda.com/download/
.. _PyPI: https://pypi.python.org/pypi/nxviz

Requirements
------------

For requirements, consult the `requirements.txt` file in the GitHub repository. As a matter of practice, nxviz development will try (where relevant) to take advantage of the latest Python features. As of 18 September 2017, this means Python 3.6 is the "officially" supported version, as there are places where we use f-string formatting to simplify logging and debugging.

Features
--------

* Declarative API.
* Works with NetworkX, one of the more popular graph libraries in Python.
* Can build NetworkX graphs from a pandas DataFrame

Feature Requests
----------------

If you have a feature request, please post it as an issue on the GitHub repository issue_ tracker. Even better, put in a PR_ for it! I am more than happy to guide you through the codebase so that you can put in a contribution to the codebase - and I'll give you a digital `nxviz` contributor badge that you can put on your personal website, as a way of saying thanks!

Because nxviz is currently maintained by volunteers and has no fiscal support, any feature requests will be prioritized according to what maintainers encounter as a need in our day-to-day jobs. Please temper expectations accordingly.

.. _issue: https://github.com/ericmjl/nxviz/issues
.. _PR: https://github.com/ericmjl/nxviz/pulls

Credits
---------

This package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.

.. _Cookiecutter: https://github.com/audreyr/cookiecutter
.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage


=======
History
=======

0.3.7 (2018-XX-XX)
------------------

* Node labels in CircosPlot can now be rotated with the `rotate_labels`
argument.

0.3.6 (2018-02-20)
------------------

* Implemented edge colours, thanks to @noragak.

0.3.5 (2018-01-20)
------------------

* Disabled health checks on certain tests.
* Added ability to configure plot size.
* Added docs on preparing a new release.
* Updated dependencies.

0.3.2 (2017-09-18)
------------------

* All plots except for HivePlot are implemented.
* Implemented auto-colorbar for plots that have continuous node colors.

0.1.0 (2016-07-15)
------------------

* First release on PyPI.


Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nxviz-0.5.0.tar.gz (344.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nxviz-0.5.0-py3-none-any.whl (18.5 kB view details)

Uploaded Python 3

File details

Details for the file nxviz-0.5.0.tar.gz.

File metadata

  • Download URL: nxviz-0.5.0.tar.gz
  • Upload date:
  • Size: 344.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for nxviz-0.5.0.tar.gz
Algorithm Hash digest
SHA256 c4bb5987f4ae0210c0f5e98390e7c5df7b99cdad20c8398a8d2c4c5ee0f1c741
MD5 0e81356e3b6f6c57c6d9fc44da6bbac8
BLAKE2b-256 a7d4d29263d2600d31047bb8beb95941bdecbda6594d33c8a5eb8f96af6f9837

See more details on using hashes here.

File details

Details for the file nxviz-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: nxviz-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 18.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.19.1 setuptools/40.0.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.6.5

File hashes

Hashes for nxviz-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1cbcae2ae6593395f5c73d115a0ff75eed615e48fc0f21e2441a379e50a15a82
MD5 8bd2cbadc7bad09a76d3831b9a2906d5
BLAKE2b-256 8451ebfd2709a1797a9948cdd4a6c85952d2470cc04df4d0f3895d30036473f9

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page