deephaven-plugin-plotly-express-0.0.3
توضیحات
Deephaven Chart Plugin
| ویژگی | مقدار |
|---|---|
| سیستم عامل | OS Independent |
| نام فایل | deephaven-plugin-plotly-express-0.0.3 |
| نام | deephaven-plugin-plotly-express |
| نسخه کتابخانه | 0.0.3 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Devin Smith, Vlad Babich, Joe Numainville |
| ایمیل نویسنده | josephnumainville@deephaven.io |
| آدرس صفحه اصلی | https://github.com/deephaven/deephaven-plugin-plotly-express |
| آدرس اینترنتی | https://pypi.org/project/deephaven-plugin-plotly-express/ |
| مجوز | - |
# 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:
```sh
python -m venv .venv
source .venv/bin/activate
pip install --upgrade pip setuptools
pip install build deephaven-plugin plotly
```
To build:
```sh
python -m build --wheel
```
The wheel is stored in `dist/`.
To test within [deephaven-core](https://github.com/deephaven/deephaven-core), note where this wheel is stored (using `pwd`, for example).
Then, follow the directions in the [deephaven-js-plugins](https://github.com/deephaven/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:
```python
import deephaven.plot.express as dx
```
Then, you can create a table (or use an existing one) and start plotting
```python
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")
```
نیازمندی
| مقدار | نام |
|---|---|
| - | deephaven-plugin |
| - | plotly |
نحوه نصب
نصب پکیج whl deephaven-plugin-plotly-express-0.0.3:
pip install deephaven-plugin-plotly-express-0.0.3.whl
نصب پکیج tar.gz deephaven-plugin-plotly-express-0.0.3:
pip install deephaven-plugin-plotly-express-0.0.3.tar.gz