The missing 3D plotting functionality for networkx
Project description
nx3d
The missing 3D plotting functionality for the excellent networkx
Python package.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file nx3d-22.9.0.tar.gz
.
File metadata
- Download URL: nx3d-22.9.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.9.13 Linux/5.15.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 016d33ce07594833e682784ec62ba2db5251a220f2f00f66d855c6f9ce9148d0 |
|
MD5 | 5601012df35a2c2a3d907e28b45933ff |
|
BLAKE2b-256 | d37eb3fb17bef5a2992a52c4b7594932ec74f80ba98c8179998434dc84b9021a |
File details
Details for the file nx3d-22.9.0-py3-none-any.whl
.
File metadata
- Download URL: nx3d-22.9.0-py3-none-any.whl
- Upload date:
- Size: 9.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.2.0 CPython/3.9.13 Linux/5.15.0-1019-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc5fe39d999c4a6b3ab9c4051dcdbdd78f93f799ea5080fd687fee704a88367e |
|
MD5 | 79c1dfbd1714a36d13d01cfe9903e57f |
|
BLAKE2b-256 | e83824608ecf65761d2fafe9521285296e904f6c7af4c53cb9be0d2e9d9203a5 |