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, and profile 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.9.0.tar.gz (446.4 kB view details)

Uploaded Source

Built Distribution

glue_plotly-0.9.0-py3-none-any.whl (104.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: glue_plotly-0.9.0.tar.gz
  • Upload date:
  • Size: 446.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for glue_plotly-0.9.0.tar.gz
Algorithm Hash digest
SHA256 d098e4f1e3abd14908b1bd325c823803d41066e3744575c672f09aaf5e46cc5e
MD5 a1ff3a0eae1d58a33c98ae80077381c8
BLAKE2b-256 8ad1916946c20f3a7ff24bdb837964d29f52c7ed39c635b37e476f85e9166e98

See more details on using hashes here.

File details

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

File metadata

  • Download URL: glue_plotly-0.9.0-py3-none-any.whl
  • Upload date:
  • Size: 104.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.0 CPython/3.12.5

File hashes

Hashes for glue_plotly-0.9.0-py3-none-any.whl
Algorithm Hash digest
SHA256 24d20e581ff1950aa78053a06ce0d118b6a838ad9cc83f2b7de547babfd12cd6
MD5 e24bc15395e4c2e12ab1f15efa2b21e0
BLAKE2b-256 2b3eeeb74b22e4b9004b47a4c2ca6094acaf394875ced524d051d84e58f66ac7

See more details on using hashes here.

Supported by

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