Skip to main content

Deephaven Chart Plugin

Project description

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:

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 deephaven-js-plugins repo.

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")

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

deephaven-plugin-plotly-express-0.0.2.tar.gz (34.9 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file deephaven-plugin-plotly-express-0.0.2.tar.gz.

File metadata

File hashes

Hashes for deephaven-plugin-plotly-express-0.0.2.tar.gz
Algorithm Hash digest
SHA256 dd1ea8ff9b6fac06ecc3483fc06c688b266f5aa050a36b84cb6cf8daefce283c
MD5 c0dde207f03919449b888bfe1a62fa55
BLAKE2b-256 a83172f7598b5ada5e71d7ee90b4177b0847e5ac81e912bb91dc540c870e5ba2

See more details on using hashes here.

File details

Details for the file deephaven_plugin_plotly_express-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for deephaven_plugin_plotly_express-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 da525671f905ce127cecd203aa731c793422b8bef4fb7170e7f2783bea873759
MD5 101e6ad99285ad36ceca14ef1b73e567
BLAKE2b-256 844a75b7baebfd6d445caf098750d78828fbe0260c6ce6e662456e070020aa33

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page