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.

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

Uploaded Source

Built Distribution

File details

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

File metadata

File hashes

Hashes for deephaven-plugin-plotly-express-0.0.8.tar.gz
Algorithm Hash digest
SHA256 c536a4dcedf192a0a2bd6fa1a01b16f3a1b069074fa0f9f2b42a1a5705656711
MD5 4bdecd57019d6f892d43718e4fca6f74
BLAKE2b-256 3076140d94a0ba168e69de62a07df07825c9f9b7e8c30d01f24f18d8f2e211b1

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for deephaven_plugin_plotly_express-0.0.8-py3-none-any.whl
Algorithm Hash digest
SHA256 83d5a8b5b871c7cbf1067cef637243cca2a48373d22d71a5e8d7ff9cf20a68d1
MD5 e769052aebe86b828949fd9672184de2
BLAKE2b-256 6a1cd820e42871e040b5726b83cec7bdf703c7ae3aa51f585fc86f18150114aa

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