Skip to main content

IPyOverlay

Code style: black PyPI version License

IPyOverlay is a library of IPyWidget "wrapper components" that support rendering widgets on top of other widgets with arbitrary/controllable positioning. This allows interfaces with overlay elements, e.g. pop-up windows, custom context menus, etc.

The intent is to provide the mechanisms necessary to implement more complex details-on-demand functionality (one part of the visual information-seeking mantra published in The Eyes Have it: A Task by Data Type Taxonomy for Information Visualizations), for dashboards and visualizations that allow a user to hone in and get more in-depth information or additional plots when requested.

Installation

IPyOverlay can be installed via pip with:

pip install ipyoverlay

Documentation

User guide and API documentation can be found at https://ornl.github.io/ipyoverlay

Screenshots

Demo GIF of interacting with a plot with ipyoverlay A GIF demoing interaction with an ipympl Matplotlib figure. In the demo, Clicking a cluster opens a pop-up window with a new figure.

Figures rendered on top of other figures The background Matplotlib figure shown is rendered as an interactive ipympl widget and wrapped in IPyOverlay’s OverlayContainer, and shows a UMAP of clustered embeddings. Clicking a cluster or right-clicking and selecting an exhibit creates a click-and-draggable pop-up window containing a new visualization that plots more details for the selected cluster. Optionally, each pop-up window can show a line connecting the window to the center of the cluster it is associated with in the underlying figure.

Right click context menu Custom actions can be added as A right-click menu to any widget. This menu is specific to this Matplotlib UMAP and allows users to choose whether to open a violin or distribution plot for the hovered cluster.

Overlay widgets can span larger areas in the notebook If multiple separate “background” widgets (Matplotlib UMAP on the left and Plotly map on the right) are wrapped in an OverlayContainer, overlay widgets can be displayed and dragged over all of them.

Citation

To cite usage of IPyOverlay, you can use the following bibtex:

@misc{doecode_127817,
    title = {IPyOverlay},
    author = {Martindale, Nathan and Smith, Jacob and Linville, Lisa and Hite, Jason and Adams, Mark and Stewart, Scott},
    abstractNote = {IPyOverlay is a Python library that provides several IPyWidget components for use within the Jupyter software ecosystem. These components add novel UI capabilities to enable details-on-demand interaction paradigms by providing the ability to render widgets on top of other widgets with arbitrary and controllable positioning. This capability enables adding click-and-draggable overlay windows containing other widgets, right-click context menus, and more complex tooltip functionality.},
    doi = {10.11578/dc.20240530.1},
    url = {https://doi.org/10.11578/dc.20240530.1},
    howpublished = {[Computer Software] \url{https://doi.org/10.11578/dc.20240530.1}},
    year = {2024},
    month = {may}
}

Metadata

Release files for ipyoverlay 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ipyoverlay 0.2.1
File Size Uploaded Provenance Actions
ipyoverlay-0.2.1.tar.gz 29.3 kB Without provenance Details for ipyoverlay-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ipyoverlay 0.2.1
File Interpreter ABI Platform Actions
ipyoverlay-0.2.1-py3-none-any.whl Python 3 none any Details for ipyoverlay-0.2.1-py3-none-any.whl

Total release size: 60.7 kB

Release files / ipyoverlay-0.2.1.tar.gz

Download URL ipyoverlay-0.2.1.tar.gz
Size 29.3 kB
Tags Source
SHA-256 checksum
How to use checksums
79666c8613d580e691234452dbd33f5ff5261227155289fe925cb97a5748a3c3
BLAKE2b-256 checksum
How to use checksums
0436c05dadd3567a1e9b234f1457139c4752c375e10666e3900cb8b7d103a125
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Release files / ipyoverlay-0.2.1-py3-none-any.whl

Download URL ipyoverlay-0.2.1-py3-none-any.whl
Size 31.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
50988dc978092f7e71fac7d7b59a4a5729f4a0e1c2d97fdc03faa68fc4d107ae
BLAKE2b-256 checksum
How to use checksums
83eb012ee2becb052aee89abb2706e6156e288587c4cbc4aca8c0c1caa34efcf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.2

Security for ipyoverlay 0.2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page