Skip to main content

The missing 3D plotting functionality for networkx

Project description

nx3d

The missing 3D plotting functionality for the excellent networkx Python package.

frucht graph

Installation

In your shell:

pip install nx3d

Test

In your Python REPL:

import nx3d
nx3d.demo()

Usage

In your Python code:

import networkx as nx
import nx3d

g = nx.frucht_graph()
nx3d.plot(g)

For more customization, use the nx3d.plot_nx3d() function.

Contribute

Thank you for considering contributing to nx3d.

Currently, there's no testing or enforced formatting with CI to keep this young project lightweight. With that in mind, the pre-commit hooks defined in .pre-commit-config.yaml apply linting and formatting to keep the project clean. Please use the pre-commit hooks before making a PR.

Set up pre-commit

From this project's root, initialize pre-commit as follows:

pre-commit install
pre-commit run -a

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

nx3d-22.9.0.tar.gz (9.6 kB view hashes)

Uploaded Source

Built Distribution

nx3d-22.9.0-py3-none-any.whl (9.3 kB view hashes)

Uploaded Python 3

Supported by

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