Comments (9)
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.
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.
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.
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.
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.
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.
After the latest upgrade, I'm still seeing a plot like this:
This is probably because two mimetypes are being displayed instead of just image/png
.
from hydrogen.
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.
Closed by 6592b3b
from hydrogen.
Related Issues (20)
- hydrogen fails to install on Atom HOT 2
- fialedto activate
- npm WARN deprecated [email protected] HOT 2
- Failed to activate the Hydrogen package HOT 18
- [email protected] failed
- Interactive input in output area
- VSCode: port or alternative HOT 12
- Uncaught Error: Cannot find module 'lodash/debounce'Require stack:- $ATOM_HOME/packages\Hydroge... HOT 3
- Uncaught error: no native build was found for platforms HOT 4
- Please port to Vs Code or any other IDE HOT 1
- Uncaught Error: No native build was found for platform=darwin arch=x64 runtime=electron abi=85 uv... HOT 2
- TypeError when using hydrogen with pulsar HOT 4
- Hi, If the notebook in "not trusted" mode. Just click on it and make it trusted then save the file. It will work fine.
- SCRIPT WONT EXECUTE. HOT 1
- can't rebuild zeromq for pulsar
- Newly installed python modules cannot be found by hydrogen in pulsar
- [18:30] r p npm WARN deprecated [email protected]: this library is no longer supported [18:31] r p npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic [18:31] r p npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic
- deleted
- Is this going to be maintained? HOT 5
- Publish Hydrogen to Pulsar Package Repository HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from hydrogen.