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.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a3d187174d44743d2b47be64a4cce42b0a2ba9788a1ae6969404b8db9ff1d80b |
|
MD5 | f7918e8f57a675c022435e2280825ba5 |
|
BLAKE2b-256 | 9e1b5f62285166e430213d2a0433dc986a5d1f0af6b389f3ae3533513f3801e3 |
Close
Hashes for deephaven_plugin_plotly_express-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76271a7aa81e9609565617415581ecae9fd3ad1e7c812634b094165a2ae3f9ee |
|
MD5 | 66accced45d26c7880bb14ded71752e1 |
|
BLAKE2b-256 | caad84c008d66d1b81586f2cdf57e09838453da36632a008d458a3ec088f91b7 |