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.

-missing image of frucht graph here-

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.1.tar.gz (9.8 kB view details)

Uploaded Source

Built Distribution

nx3d-22.9.1-py3-none-any.whl (9.6 kB view details)

Uploaded Python 3

File details

Details for the file nx3d-22.9.1.tar.gz.

File metadata

  • Download URL: nx3d-22.9.1.tar.gz
  • Upload date:
  • Size: 9.8 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.1.tar.gz
Algorithm Hash digest
SHA256 d98d0a195afcb9ffa2cb998d564e2e491bf1c5521ecbc641644add8dc3edd43f
MD5 8c6b37fb5eb0a70f3b462ab2ff2aa88c
BLAKE2b-256 e0a923ddc85cc6543ba576b9d283c61fff5d275b55dc1950e317c5031b881785

See more details on using hashes here.

File details

Details for the file nx3d-22.9.1-py3-none-any.whl.

File metadata

  • Download URL: nx3d-22.9.1-py3-none-any.whl
  • Upload date:
  • Size: 9.6 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6a64d7f85015e608c8aff5b49a265df87d86c66e55a596aa58077fadc73d91a1
MD5 f2f47cb21800cad77b9299ee8c0b2d13
BLAKE2b-256 816ed73bf9e736d60ff8aebac72f2a88101025a22bb6ab599b21ae6c424b0f56

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