Deephaven Plugin for Charts
Custom implementation built on top of plotly express to make it compatible with deephaven tables.
Build
To create your build / development environment (skip the first two lines if you already have a venv):
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools
pip install build deephaven-plugin plotly
To build:
python -m build --wheel
The wheel is stored in dist/.
To test within deephaven-core, note where this wheel is stored (using pwd, for example).
Then, follow the directions in the top-level README.md to install the wheel into your Deephaven environment.
To unit test, run the following command from the root of the repo:
tox -e py
Usage
Once you have the plugin installed and the server started, the recommended way to import the package mirrors plotly express:
import deephaven.plot.express as dx
Then, you can create a table (or use an existing one) and start plotting
from deephaven.column import int_col, string_col
import deephaven.plot.express as dx
from deephaven import new_table
source = new_table(
[
string_col("Categories", ["A", "B", "C"]),
int_col("Values", [1, 3, 5]),
]
)
fig = dx.bar(table=source, x="Categories", y="Values")
Docs
Docs can be built locally
Install the necessary dependencies:
pip install -r ../../sphinx_ext/sphinx-requirements.txt
pip install dist/deephaven_plugin_plotly_express-*.whl
then run the docs make script:
python make_docs.py
The files will be built into docs/build/markdown.
Note that these built files should not be committed to the repository.
Metadata
Release files for deephaven-plugin-plotly-express 0.22.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| deephaven_plugin_plotly_express-0.22.0.tar.gz | 2.0 MB | Without provenance | Details for deephaven_plugin_plotly_express-0.22.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| deephaven_plugin_plotly_express-0.22.0-py3-none-any.whl | Python 3 | none | any | Details for deephaven_plugin_plotly_express-0.22.0-py3-none-any.whl |
Total release size: 4.0 MB
Release files / deephaven_plugin_plotly_express-0.22.0.tar.gz
| Download URL | deephaven_plugin_plotly_express-0.22.0.tar.gz |
|---|---|
| Size | 2.0 MB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ec7ed50639f9ee4f2bedab86d805307f2fbc28dc6f6a8a6a79800e22478aa88b
|
|
BLAKE2b-256 checksum How to use checksums |
0b3067094b7a00b3963f9376a3996d31fd1c5aee0e33aae9123a92774a396b70
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / deephaven_plugin_plotly_express-0.22.0-py3-none-any.whl
| Download URL | deephaven_plugin_plotly_express-0.22.0-py3-none-any.whl |
|---|---|
| Size | 2.0 MB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb85f7954672dd84f8e9e3d629a144f69a813c64311332f69f7a7cf3c82c5923
|
|
BLAKE2b-256 checksum How to use checksums |
003994b1205060e6a2e818c776e4542bb7cd1c3a2d411c012f2632192052658a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for deephaven-plugin-plotly-express 0.22.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.