Experimental plot.ly exporters for glue
Project description
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.
In glue-jupyter, the Plotly exporter tools are top-level toolbar tools (look for the Plotly logo!)
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.
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for glue_plotly-0.10.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5054923b5cc4b4fd8271d7a019e68439ad7a500b68f958a1b7f8b004c5452367 |
|
MD5 | 840dcc148811cbeb4bd4a88ff2dabc9d |
|
BLAKE2b-256 | a7c10c8a64bb01c43449b3823cb14242f7b0a0f1fbf6f3aa2e9bcc599167a47b |