twosigma / twosigma/beakerx

Support BufferedImages within Lists and Maps

Open
#7,706 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

In many instances would be nice to have two or more `BufferedImage`s displayed side by side within a notebook, such as comparing an image that has undergone some sort of processing with the unprocessed image. However, as shown in [this MCVE](https://gist.github.com/gselzer/373a40b7cc17385d8f996fab36f9d2ac) created by @ctrueden `BufferedImage`s are not displayed when in a `List` or `Map`/`Table`. The `Map`/`Table` case is also frustrating in the fact that it is difficult to determine where the error is coming from, since no stack trace is given in the error. Unfortunately attempting to catch the error with a try block around the entire Map declaration and print provides no help.

As such I have two further questions about the topic:

1. Is there a way to get the stack trace of the `Map` error so that we can figure out what is causing the error?

2. Is there some reason that `BufferedImages` are not allowed to display within `Map` and `List`, or can @ctrueden and I develop a PR that fixes this?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.