question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Create a widget compatible with other Jupyter notebook widgets

See original GitHub issue

Ginga already has a web browser back end (see #168) and there is a Ginga viewer that is tailored for working in/with Jupyter notebooks.

This issue is exploring whether a native Jupyter widget can be used as the back end of a Ginga viewer. I’ve created a new ginga.web.jupyterw back end module. It uses the Jupyter Image widget as the surface and subclasses the PIL backend for the rendering. You can see some initial experiments of the use in this notebook.

The most useful feature of this version is that (as the example shows) the widget can be packed in with other Jupyter widgets and the packing and interaction between the widgets all just works.

The downside is that currently there is no support for UI events in a Jupyter image widget–therefore there are no cursor or keyboard interactions possible with the widget. Everything must be controlled by other widgets or programmatically.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:29 (25 by maintainers)

github_iconTop GitHub Comments

3reactions
pllimcommented, Jun 20, 2017

impressive astro image

An image of space cats is always an option… 😸

2reactions
mwcraigcommented, Jun 20, 2017
Read more comments on GitHub >

github_iconTop Results From Across the Web

Embedding Jupyter Widgets in Other Contexts than the ...
Create whatever widgets you'd like, and use Save Notebook Widget State and save the notebook. This saves the new widget state to the...
Read more >
The 2 alternative approaches for Jupyter Notebook widgets
The first approach is to use ipywidgets and Voila framework. The ipywidgets provides a way to add widgets in the notebook with Python....
Read more >
How to use ipywidgets to make your Jupyter notebook ...
It turns out you can do this pretty easily right in Jupyter, without creating a full webapp. This is possible with ipywidgets ,...
Read more >
Bring your Jupyter Notebook to life with interactive widgets
This is a complete tutorial of how you can take full control of the widgets to create powerful dashboards. We will start with...
Read more >
Creating custom widgets in the Jupyter Notebook | Devportal
This article demonstrates how to develop custom widgets displayed in the Jupyter Notebook.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found