{"id":22546499,"url":"https://github.com/deephaven/deephaven-plugin-plotly","last_synced_at":"2025-04-10T00:52:17.695Z","repository":{"id":57843404,"uuid":"528024725","full_name":"deephaven/deephaven-plugin-plotly","owner":"deephaven","description":"Deephaven Plugin for plotly","archived":false,"fork":false,"pushed_at":"2023-09-13T14:07:57.000Z","size":46,"stargazers_count":1,"open_issues_count":1,"forks_count":3,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-04-10T00:52:10.725Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/deephaven.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2022-08-23T14:20:38.000Z","updated_at":"2023-08-21T16:36:06.000Z","dependencies_parsed_at":"2023-12-19T01:52:53.554Z","dependency_job_id":"671e6dff-e3a3-4a10-b663-8512102f7a5d","html_url":"https://github.com/deephaven/deephaven-plugin-plotly","commit_stats":{"total_commits":33,"total_committers":6,"mean_commits":5.5,"dds":0.5757575757575757,"last_synced_commit":"cde45ded34af34689e50bf6570075ffd6cd3f671"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deephaven%2Fdeephaven-plugin-plotly","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deephaven%2Fdeephaven-plugin-plotly/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deephaven%2Fdeephaven-plugin-plotly/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/deephaven%2Fdeephaven-plugin-plotly/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/deephaven","download_url":"https://codeload.github.com/deephaven/deephaven-plugin-plotly/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248137996,"owners_count":21053775,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-07T15:08:00.812Z","updated_at":"2025-04-10T00:52:17.666Z","avatar_url":"https://github.com/deephaven.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DEPRECATED\n\nPlease use the monorepo at https://github.com/deephaven/deephaven-plugins\n\nThe Deephaven Plugin for Plotly. Allows for opening Plotly plots in a Deephaven environment. Any Plotly plot\nshould be viewable by default. For example:\n\n### Scatter Plot\n```python\nimport plotly.express as px\ndf = px.data.iris()\nfig = px.scatter(df, x=\"sepal_width\", y=\"sepal_length\", color=\"species\",\n                 size='petal_length', hover_data=['petal_width'])\n```\n\n### Box Plot\n```python\nimport plotly.express as px\ndf = px.data.tips()\nfig = px.box(df, x=\"time\", y=\"total_bill\")\n```\n\n### Multiple Series\nIt's possible to have multiple kinds of series in the same figure. Here is an example driving a line and a bar plot:\n```python\nfrom plotly.subplots import make_subplots\nimport plotly.graph_objects as go\nfig = make_subplots(rows=1, cols=2)\nfig.add_trace(\n    go.Scatter(x=[1, 2, 3], y=[4, 5, 6]),\n    row=1, col=1)\nfig.add_trace(\n    go.Bar(x=[1, 2, 3], y=[4, 5, 6], marker=dict(color=[4, 5, 6], coloraxis=\"coloraxis\")),\n    row=1, col=2)\nfig.update_layout(title_text=\"Side By Side Subplots\", showlegend=False)\n```\n\n### Plot data from a Deephaven table\n```python\nfrom deephaven import empty_table, numpy\nimport plotly.express as px\nt = empty_table(300).update(formulas=[\"X = (double)i\", \"Y = Math.sin(X)\"])\ndata = numpy.to_numpy(t, [\"X\", \"Y\"])\nfig = px.line(x=data[:,0], y=data[:,1])\n```\n\n## Build\n\nTo create your build / development environment:\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 [deephaven-js-plugins](https://github.com/deephaven/deephaven-js-plugins) repo.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeephaven%2Fdeephaven-plugin-plotly","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdeephaven%2Fdeephaven-plugin-plotly","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdeephaven%2Fdeephaven-plugin-plotly/lists"}