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
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
pdendro-0.1.0.tar.gz
(23.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
pdendro-0.1.0-py3-none-any.whl
(19.6 kB
view details)
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4bf9507fe35db107457af0c4164341c0b62e8c030287ae0b8721293270931255
|
|
| MD5 |
cceb1debfeed9d49315ff269472996ec
|
|
| BLAKE2b-256 |
0725bfa572f7f8ae82e802e400a90efdb206a419c356691ca31e0def89301030
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a2144a89d9af04c240d55f0bb35e06965d2dc23bdc437783814296177b312a82
|
|
| MD5 |
c2d33214d6f16c798628b23527191c3e
|
|
| BLAKE2b-256 |
71648129781b161930129ec2800a64cdee7d690c0579c3523881a423eb9e249f
|