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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for deephaven-plugin-plotly-express-0.0.4.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 46eb8e878a167b2623f8ccc2d5f9cfcbfd2f380342e2770564858baa4f0e562c |
|
MD5 | f91e5f8f71b67ade06d04efce8aa8165 |
|
BLAKE2b-256 | 16f21d3e53ce7e143b7d8a6d7d82f9cf34e096cc2f1c4ef9995d1bab154dad05 |
Close
Hashes for deephaven_plugin_plotly_express-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5475766684a188835a5066a368feb92a5ece751bfd91e565a3d51bf7c4222ecc |
|
MD5 | 8e667d9009e064e3166f47df05b69f34 |
|
BLAKE2b-256 | 96cca1a298fe7d97dfbe2f04023a5f9fe8c8a0b8b705cd2e61b7dfd320d7f954 |