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.1.tar.gz (29.8 kB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for deephaven-plugin-plotly-express-0.0.1.tar.gz
Algorithm Hash digest
SHA256 a3d187174d44743d2b47be64a4cce42b0a2ba9788a1ae6969404b8db9ff1d80b
MD5 f7918e8f57a675c022435e2280825ba5
BLAKE2b-256 9e1b5f62285166e430213d2a0433dc986a5d1f0af6b389f3ae3533513f3801e3

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deephaven_plugin_plotly_express-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 76271a7aa81e9609565617415581ecae9fd3ad1e7c812634b094165a2ae3f9ee
MD5 66accced45d26c7880bb14ded71752e1
BLAKE2b-256 caad84c008d66d1b81586f2cdf57e09838453da36632a008d458a3ec088f91b7

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