Skip to main content

Experimental plot.ly exporters for glue

Project description

Glue-plotly's GitHub Actions CI Status Glue-plotly's Coverage Status

Experimental plot.ly plugin for glue

This package is a plugin for glue that allows linking glue to Plotly. This includes three main pieces of functionality:

  • Export glue views to standalone HTML pages

  • Export glue views to Plotly’s Chart Studio

  • Experimental glue viewers powered by Plotly

Installation

glue-plotly can be installed using pip:

pip install glue-plotly

Additionally, glue-plotly is included in the glue standalone applications for MacOS and Windows.

HTML Exporters

The HTML exporters are exposed as viewer tools in both glue-qt and glue-jupyter

For glue-qt, all of the built-in matplotlib viewers are supported, along with the dendrogram viewer and the 3D scatter viewer from the glue-vispy-viewers plugin. For glue-jupyter, the bqplot scatter, image, profile, and histogram viewers are supported. In glue-qt, these tools are subtools of the “save” meta-tool and can be accessed from its dropdown menu.

Qt Plotly export demo

In glue-jupyter, the Plotly exporter tools are top-level toolbar tools (look for the Plotly logo!)

bqplot Plotly export tool

Chart Studio

The Chart Studio exporter allows exporting a Qt glue session to Chart Studio, provided that all of the viewers in the session are supported. Currently supported viewers are the matplotlib scatter, histogram, profile, and dendrogram viewers.

To access the exporter inside Qt glue, navigate to File > Advanced Exporters > Plotly.

Qt Chart Studio export demo

Viewers

This package contains two experimental Plotly-powered viewers which can be used with glue-jupyter - a scatter viewer and a histogram viewer. More viewers to come in the future!

This notebook demonstrates basic usage of the these viewers, such as importing and viewer creation.

Package Structure

  • common contains methods for creating Plotly graph objects traces to represent glue layers and viewers that are shared between the exporters and Plotly viewers.

  • html_exporters contains the implementations of the HTML exporter tools for glue-qt and glue-jupyter

  • web contains the implementation of the Chart Studio exporter for Qt glue

  • viewers contains the implementations of the Plotly viewers

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

glue_plotly-0.10.1.tar.gz (17.0 MB view details)

Uploaded Source

Built Distribution

glue_plotly-0.10.1-py3-none-any.whl (109.1 kB view details)

Uploaded Python 3

File details

Details for the file glue_plotly-0.10.1.tar.gz.

File metadata

  • Download URL: glue_plotly-0.10.1.tar.gz
  • Upload date:
  • Size: 17.0 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for glue_plotly-0.10.1.tar.gz
Algorithm Hash digest
SHA256 2a73a13fcb0bb0dcf1365a93a6f228b3351c7491ec22fae3543ad963fdd93f99
MD5 c146255071b4a90a2487597e56d4d879
BLAKE2b-256 b9bf5cca7488c5fda96a36f2345c67e2975e633c0dbf80afeab0b0489397890e

See more details on using hashes here.

File details

Details for the file glue_plotly-0.10.1-py3-none-any.whl.

File metadata

  • Download URL: glue_plotly-0.10.1-py3-none-any.whl
  • Upload date:
  • Size: 109.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for glue_plotly-0.10.1-py3-none-any.whl
Algorithm Hash digest
SHA256 da028487d56601c155236d4b64650f48975f1dd779160e4106bff67718fb7276
MD5 5ef2c69fbb094b5c94263627d3e0bc44
BLAKE2b-256 a994dd021b2c208fac569921b92b458271bea39443145dfd9860cd1a9da17f9c

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page