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.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4fdfd77df84af16220c57f759afdc71f73661515c68460ca00b958e4535a3d6e |
|
MD5 | 92821427b3e052121f630d2fe074ebf6 |
|
BLAKE2b-256 | 5e61073a8299efc50346018428af5e947ce6f5979ad52c9a600b846bbb3ea4d6 |
Close
Hashes for deephaven_plugin_plotly_express-0.0.1.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 02dc59623eaf4a5f2746dfae41039b200b6a1d85d49e3f0f14452263ae5d3c64 |
|
MD5 | c7d72af31d3b440d57dd8152f73e13b7 |
|
BLAKE2b-256 | 2f2d063c75ae35342d09c610cebde6a8e3b6b899e5d3675bc8619858d6cb619b |