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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dd1ea8ff9b6fac06ecc3483fc06c688b266f5aa050a36b84cb6cf8daefce283c |
|
MD5 | c0dde207f03919449b888bfe1a62fa55 |
|
BLAKE2b-256 | a83172f7598b5ada5e71d7ee90b4177b0847e5ac81e912bb91dc540c870e5ba2 |
Close
Hashes for deephaven_plugin_plotly_express-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | da525671f905ce127cecd203aa731c793422b8bef4fb7170e7f2783bea873759 |
|
MD5 | 101e6ad99285ad36ceca14ef1b73e567 |
|
BLAKE2b-256 | 844a75b7baebfd6d445caf098750d78828fbe0260c6ce6e662456e070020aa33 |