Giter VIP home page Giter VIP logo

Comments (9)

rgbkrk avatar rgbkrk commented on July 2, 2024

On a separate note (and not the fault of Hydrogen), matplotlib should still by default respond with rich output if it can for all frontends. 😫

from hydrogen.

willwhitney avatar willwhitney commented on July 2, 2024

Hmm, it's weird that it placed that bubble there. It should have been placed at the end of the selected area (by .plot()) and been much wider. Not sure why this is getting cut off.

I found that limiting the size of the bubbles was necessary to keep large images/videos/stacktraces from filling the entire screen β€”Β any clever ideas about a better solution?

from hydrogen.

rgbkrk avatar rgbkrk commented on July 2, 2024

The way I was going to lay it out was with a separate pane or tab that can be moved around (the way Atom script was initially created). It would be nice to be able to dock it. One flow that I've considered is a swipable collection of outputs though I really like the output next to run line UI.

from hydrogen.

willwhitney avatar willwhitney commented on July 2, 2024

Yeah, I've been playing around with designs for throwing the output into a
separate pane (maybe more like a normal REPL pane, maybe something else)
but I haven't landed on anything I really like yet.

I will be adding support for opening multiline results in a new Editor
pane, but that doesn't improve images. Maybe with some fiddling the UI for
images will be good enough as-is.

On Mon, May 18, 2015 at 1:13 PM Kyle Kelley [email protected]
wrote:

The way I was going to lay it out was with a separate pane or tab that can
be moved around (the way Atom script was initially created). It would be
nice to be able to dock it. One flow that I've considered is a swipable
collection of outputs though I really like the output next to run line
UI.

β€”
Reply to this email directly or view it on GitHub
#3 (comment).

from hydrogen.

rgbkrk avatar rgbkrk commented on July 2, 2024

At least for me, I'm going to want a pane so that I can interact with widgets, Bokeh plots, etc.

There's always the option of making alternative UIs (in separate packages), but sharing common components. Beyond just the Jupyter stuff, some of the code I looked over in Hydrogen is the same stuff we had to do in atom script for contextual running of code (selection, whole file, temp file). Making a Jupyter package for Atom has been high on my list to break away from the script package, so I'm super excited you've gotten this going.

from hydrogen.

willwhitney avatar willwhitney commented on July 2, 2024

I don't think this particular bug is happening any more, so I'll close the issue.

Still thinking about ways to build a good two-pane experience though.

from hydrogen.

rgbkrk avatar rgbkrk commented on July 2, 2024

After the latest upgrade, I'm still seeing a plot like this:

screenshot 2015-05-19 15 54 30

This is probably because two mimetypes are being displayed instead of just image/png.

from hydrogen.

willwhitney avatar willwhitney commented on July 2, 2024

Ah, I see what's going on. The kernel is sending two separate messages, an execute_result and a display_data. Showing both of them is OK (actually necessary; hard to determine which results to ignore, and doing it wrong is deadly). The issue is that the image was being displayed inline instead of block, so it got pushed . Fix coming.

from hydrogen.

willwhitney avatar willwhitney commented on July 2, 2024

Closed by 6592b3b

from hydrogen.

Related Issues (20)

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.