Skip to main content

Drawing dendrograms using Plotly

Project description

PDendro

Python package for drawing a dendrogram using Plotly.

Installation

python -m pip install pdendro

Usage

import plotly.graph_objects as go
import plotly.io as pio
import scipy

from pdendro import attach_dendrogram

X = [[0.0], [1.0], [3.0], [6.0]]
Z = scipy.cluster.hierarchy.linkage(X)

fig = go.Figure()
attach_dendrogram(fig, Z)
pio.show(fig)

See the tutorial for details.

License

Apache License, Version 2.0

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

pdendro-0.1.0.tar.gz (23.3 kB view details)

Uploaded Source

Built Distribution

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

pdendro-0.1.0-py3-none-any.whl (19.6 kB view details)

Uploaded Python 3

File details

Details for the file pdendro-0.1.0.tar.gz.

File metadata

  • Download URL: pdendro-0.1.0.tar.gz
  • Upload date:
  • Size: 23.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pdendro-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4bf9507fe35db107457af0c4164341c0b62e8c030287ae0b8721293270931255
MD5 cceb1debfeed9d49315ff269472996ec
BLAKE2b-256 0725bfa572f7f8ae82e802e400a90efdb206a419c356691ca31e0def89301030

See more details on using hashes here.

File details

Details for the file pdendro-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: pdendro-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 19.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.8 {"installer":{"name":"uv","version":"0.11.8","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for pdendro-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a2144a89d9af04c240d55f0bb35e06965d2dc23bdc437783814296177b312a82
MD5 c2d33214d6f16c798628b23527191c3e
BLAKE2b-256 71648129781b161930129ec2800a64cdee7d690c0579c3523881a423eb9e249f

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