lgeiger / hydrogen-launcher

:rocket: Launch terminals and jupyter consoles connected to hydrogen
https://atom.io/packages/hydrogen-launcher
MIT License
96 stars 25 forks source link

qtconsole launch doesn't work? #16

Closed dhhagan closed 7 years ago

dhhagan commented 7 years ago

I am trying to force hydrogen-launcher to launch a qtconsole rather than console through the PlatformIO Terminal and edited the settings to force qtconsole rather than console in the Jupyter Console section. However (even after a restart of Atom), it still launches an ordinary console.

Is there something I'm missing, or is it behaving incorrectly?

The reason I want to use qtconsole is so (hopefully) I can utilize the qt backend for plots rather than having them embedded or having them pop out with some weird backend (right now, they just show up in preview on macOS). Hopefully I'm doing this right..

lgeiger commented 7 years ago

However (even after a restart of Atom), it still launches an ordinary console.

By "ordinary" do you mean the PlatformIO terminal?

dhhagan commented 7 years ago

Yes. It launches in the PlatformIO terminal, but is a console, rather than a qtconsole. Is that the expected behaviour?

lgeiger commented 7 years ago

Are you sure you use the command "Hydrogen Launcher: Launch Jupyter Console" (cmd-alt-j) rather than "Hydrogen Launcher: Launch Jupyter Console in PlatformIO Terminal" (cmd-alt-shift-j)?

dhhagan commented 7 years ago

Ahh, I was not. So the qtconsole can't be opened in the PlatformIO Terminal then?

lgeiger commented 7 years ago

Oh I think I see your problem now.

AFAIK it isn't possible to have a embedded qtconsole inside the PlatformIO Terminal, but I think we should be able to at least spawn it from there.

lgeiger commented 7 years ago

Just released v1.2.1 with a fix.