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.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 60db50e8949fecade744354e1037e1a829d2463a158b689a03b5770836a26558 |
|
MD5 | 1da6fc94cd7cc9187b536962d9369aba |
|
BLAKE2b-256 | b29bbdfbfe560db2cf5b68af453404bdefbd8d17c1727b4bfec1a3ae00fdf7dc |
Close
Hashes for deephaven_plugin_plotly_express-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a88d5c003c04a6088a4fea0048a21d86859cd7e9b95750a237f816a378634afe |
|
MD5 | 02fc37771e0a7977c10a8d0b87ba756c |
|
BLAKE2b-256 | d2a3e7fedec10edfd0ea0c812ba150a3389354d5ecd59b5aa23a5acc4db2a468 |