Skip to main content

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.20.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for deephaven-plugin-plotly-express 0.20.2
File Size Uploaded
deephaven_plugin_plotly_express-0.20.2.tar.gz 2.0 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for deephaven-plugin-plotly-express 0.20.2
File Interpreter ABI Platform
deephaven_plugin_plotly_express-0.20.2-py3-none-any.whl Python 3 none any Details

Total release size: 4.0 MB

Release files / deephaven_plugin_plotly_express-0.20.2.tar.gz

Download URL deephaven_plugin_plotly_express-0.20.2.tar.gz
Size 2.0 MB
Tags Source
SHA-256 checksum
How to use checksums
f8ef56ee8814a3aaeb5b30e682bd23afa9555dfc461103795ccb927682ce0e6f
BLAKE2b-256 checksum
How to use checksums
977f85ac94cb403d89b7b3a63169cdcd093708a0f4e7c21a2d69df7fb323120d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release files / deephaven_plugin_plotly_express-0.20.2-py3-none-any.whl

Download URL deephaven_plugin_plotly_express-0.20.2-py3-none-any.whl
Size 2.0 MB
Tags Python 3
SHA-256 checksum
How to use checksums
ba55455ac1b75bb27f5096382a9316e452c2ba48803d0572a1be72b38464312a
BLAKE2b-256 checksum
How to use checksums
abe53c0a682702318669206dbc266c7c3a695e384bed3394d26cab75bcbbc0a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.20.2 This release

2 release files

0.20.1

2 release files

0.20.0

2 release files

0.19.3

2 release files

0.19.1

2 release files

0.19.0

2 release files

0.18.3

2 release files

0.18.2

2 release files

0.18.0

2 release files

0.17.1

2 release files

0.17.0

2 release files

0.16.1

2 release files

0.15.0

2 release files

0.12.1

2 release files

0.12.0

2 release files

0.11.2

2 release files

0.11.1

2 release files

0.11.0

2 release files

0.9.0

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.0

2 release files

0.1.0

2 release files

0.0.8

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page