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.5.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 700df2bb9e4c5fde98a666c38bdc6c48827acebb309de9a6989c9041856480eb |
|
MD5 | 9091e7bed80c1e205642abf08302446e |
|
BLAKE2b-256 | 94bf6bc37d6dd6d732a1d5d88747c0624048d9fc3b2cfdaa65e8dc93d7c6aee3 |
Close
Hashes for deephaven_plugin_plotly_express-0.0.5-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4c29bd96033fa4525a611fc36ece52dcc2dae0dd86c71d48eb0b50992536a9c4 |
|
MD5 | 6e0d5611c45a2f6210b4dce1217b7f17 |
|
BLAKE2b-256 | 1c65ccda4a75b4ccbd8655f87b97e326bbaac8bb52ba8e377339172bc685f0e2 |