Metadata-Version: 2.4
Name: pdendro
Version: 0.1.0
Summary: Drawing dendrograms using Plotly
Author: naubuan
License-Expression: Apache-2.0
Project-URL: Repository, https://gitlab.com/naubuan/pdendro
Project-URL: Documentation, https://naubuan.gitlab.io/pdendro
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Classifier: Topic :: Scientific/Engineering :: Visualization
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE.txt
Requires-Dist: optype[numpy]>=0.9.3
Requires-Dist: plotly>=6.1.1
Requires-Dist: scipy>=1.15.3
Requires-Dist: typing-extensions>=4.12.0; python_full_version < "3.11"
Dynamic: license-file

PDendro
=======

Python package for drawing a dendrogram using [Plotly](https://plotly.com/python).

Installation
------------

```shell
python -m pip install pdendro
```

Usage
-----

```python
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](https://naubuan.gitlab.io/pdendro/tutorial.html) for details.

License
-------

[Apache License, Version 2.0](LICENSE.txt)
