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

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.6.0.tar.gz (1.6 MB view details)

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for deephaven-plugin-plotly-express-0.6.0.tar.gz
Algorithm Hash digest
SHA256 754f4f1ab1f19d1c85595e1d054a0f6eea1726badcb2da4d330fcde837abd2d3
MD5 eaf00cc83fe0da76fe374a2137a242c1
BLAKE2b-256 5b8bf4146e80376b7b2ad297b35c724a6abb5d4f500b496cb0853bb0e98fdb00

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deephaven_plugin_plotly_express-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a45a7e710e917bc91a5f03e35595bae36193b6bfc68f49e1553a2f18cc01dea7
MD5 c6776f00838beae199eaa344fca39bb4
BLAKE2b-256 04b2d7f13e2cc1629dfc3a11d097956146c63ece3b0d1d3dcf08d5a04afc4dc0

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