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.6.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | cadec81310ffe4adda17191a7ea0687b0e44f4caf1a3bbc1b47391b9d083829e |
|
MD5 | 852d893ed314c45d6e68b717b9de4919 |
|
BLAKE2b-256 | 616c56859b9146a010ad7651b4cf7c1c6e865fc36e1370c09d704741fcc2eef6 |
Close
Hashes for deephaven_plugin_plotly_express-0.0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 33acb2747eb361a63afccd726d84f411568d66535599f3c8623472414499c4ca |
|
MD5 | dba137b2e3c39de9b68a04dfefc2979a |
|
BLAKE2b-256 | d36a277b15c2b89d0d8860d02990f06aa0aa05b8959182902749bf3936fc3cbc |