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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

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

Hashes for nx3d-22.9.0.tar.gz
Algorithm Hash digest
SHA256 016d33ce07594833e682784ec62ba2db5251a220f2f00f66d855c6f9ce9148d0
MD5 5601012df35a2c2a3d907e28b45933ff
BLAKE2b-256 d37eb3fb17bef5a2992a52c4b7594932ec74f80ba98c8179998434dc84b9021a

See more details on using hashes here.

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

Hashes for nx3d-22.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cc5fe39d999c4a6b3ab9c4051dcdbdd78f93f799ea5080fd687fee704a88367e
MD5 79c1dfbd1714a36d13d01cfe9903e57f
BLAKE2b-256 e83824608ecf65761d2fafe9521285296e904f6c7af4c53cb9be0d2e9d9203a5

See more details on using hashes here.

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