Giter VIP home page Giter VIP logo

glue-plotly's Introduction

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

glue-plotly's People

Contributors

carifio24 avatar astrofrog avatar dhomeier avatar catherinezucker avatar victoriaono avatar johnarban avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.