deephaven-plugin-plotly-express


Namedeephaven-plugin-plotly-express JSON
Version 0.7.0 PyPI version JSON
download
home_pagehttps://github.com/deephaven/deephaven-plugins
SummaryDeephaven Chart Plugin
upload_time2024-04-03 22:03:04
maintainerNone
docs_urlNone
authorDevin Smith, Vlad Babich, Joe Numainville
requires_pythonNone
licenseNone
keywords deephaven plugin graph
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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 (skip the first two lines if you already have a venv):

```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 top-level README.md to install the wheel into your Deephaven environment.

To unit test, run the following command from the root of the repo:

```sh
tox -e py
```

## 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")
```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/deephaven/deephaven-plugins",
    "name": "deephaven-plugin-plotly-express",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "deephaven, plugin, graph",
    "author": "Devin Smith, Vlad Babich, Joe Numainville",
    "author_email": "josephnumainville@deephaven.io",
    "download_url": "https://files.pythonhosted.org/packages/99/48/b2de2142c7a11c06833d1621e1fbb765f618d3b602560527f55a585aedb4/deephaven-plugin-plotly-express-0.7.0.tar.gz",
    "platform": "any",
    "description": "# Deephaven Plugin for Charts\n\nCustom implementation built on top of plotly express to make it compatible with deephaven tables.\n\n## Build\n\nTo create your build / development environment (skip the first two lines if you already have a venv):\n\n```sh\npython -m venv .venv\nsource .venv/bin/activate\npip install --upgrade pip setuptools\npip install build deephaven-plugin plotly\n```\n\nTo build:\n\n```sh\npython -m build --wheel\n```\n\nThe wheel is stored in `dist/`.\n\nTo test within [deephaven-core](https://github.com/deephaven/deephaven-core), note where this wheel is stored (using `pwd`, for example).\nThen, follow the directions in the top-level README.md to install the wheel into your Deephaven environment.\n\nTo unit test, run the following command from the root of the repo:\n\n```sh\ntox -e py\n```\n\n## Usage\n\nOnce you have the plugin installed and the server started, the recommended way to import the package mirrors plotly express:\n\n```python\nimport deephaven.plot.express as dx\n```\n\nThen, you can create a table (or use an existing one) and start plotting\n\n```python\nfrom deephaven.column import int_col, string_col\nimport deephaven.plot.express as dx\nfrom deephaven import new_table\n\nsource = new_table(\n    [\n        string_col(\"Categories\", [\"A\", \"B\", \"C\"]),\n        int_col(\"Values\", [1, 3, 5]),\n    ]\n)\n\nfig = dx.bar(table=source, x=\"Categories\", y=\"Values\")\n```\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "Deephaven Chart Plugin",
    "version": "0.7.0",
    "project_urls": {
        "Bug Tracker": "https://github.com/deephaven/deephaven-plugins/issues",
        "Homepage": "https://github.com/deephaven/deephaven-plugins",
        "Source Code": "https://github.com/deephaven/deephaven-plugins"
    },
    "split_keywords": [
        "deephaven",
        " plugin",
        " graph"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "b757d9c612c3a9199774e05ad1cd166b23a293f506996a7d0ef6ab80a16397fd",
                "md5": "de969f8fa21ec6d7ef1ba68cd3ac4796",
                "sha256": "33c125eb4427a8319ba9e1a767f37ef6aa4f17320172168054ae5b05b9e65ca2"
            },
            "downloads": -1,
            "filename": "deephaven_plugin_plotly_express-0.7.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "de969f8fa21ec6d7ef1ba68cd3ac4796",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 1642001,
            "upload_time": "2024-04-03T22:03:01",
            "upload_time_iso_8601": "2024-04-03T22:03:01.755874Z",
            "url": "https://files.pythonhosted.org/packages/b7/57/d9c612c3a9199774e05ad1cd166b23a293f506996a7d0ef6ab80a16397fd/deephaven_plugin_plotly_express-0.7.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "9948b2de2142c7a11c06833d1621e1fbb765f618d3b602560527f55a585aedb4",
                "md5": "40c635b64b3ecc1facf09753c1dd8146",
                "sha256": "2f2e86d8086c8def060218e5e354001c5af947768103013dc7c4895733d3e710"
            },
            "downloads": -1,
            "filename": "deephaven-plugin-plotly-express-0.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "40c635b64b3ecc1facf09753c1dd8146",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 1591055,
            "upload_time": "2024-04-03T22:03:04",
            "upload_time_iso_8601": "2024-04-03T22:03:04.136741Z",
            "url": "https://files.pythonhosted.org/packages/99/48/b2de2142c7a11c06833d1621e1fbb765f618d3b602560527f55a585aedb4/deephaven-plugin-plotly-express-0.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-03 22:03:04",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "deephaven",
    "github_project": "deephaven-plugins",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "deephaven-plugin-plotly-express"
}
        
Elapsed time: 0.22207s